CommandByMail generating errors in messages

Hi All,

We have RT 4.0.7 installed on a freeBSD system with postgres 9.0.10

In /var/log/messages we get these errors when the command by mail is called :
Feb 14 11:00:50 RT: Use of uninitialized value $1 in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 206. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50 RT: Use of uninitialized value $2 in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 206. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50 RT: Use of uninitialized value within @items in lc at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 209. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16 RT: Use of uninitialized value within @items in lc at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 209. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16 RT: Use of uninitialized value in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 249. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)

Any help would be greatly appreciated.

Regards
Nik

In /var/log/messages we get these errors when the command by mail is called :
Feb 14 11:00:50 RT: Use of uninitialized value $1 in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 206. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50 RT: Use of uninitialized value $2 in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 206. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50 RT: Use of uninitialized value within @items in lc at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 209. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16 RT: Use of uninitialized value within @items in lc at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 209. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16 RT: Use of uninitialized value in concatenation (.) or string at /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm line 249. (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)

Any help would be greatly appreciated.

These are all warnings not errors.
Are you seeing them manifest as errors somewhere?

-kevin

Hi Kevin,

Thanks for the reply.

These are all warnings not errors.
Are you seeing them manifest as errors somewhere?

No, we haven’t had any real issues but we have another instance of RT on an ubuntu server and we don’t see the same warnings.
I was wondering if there is something we could do about them.

Regards
Nik

These are all warnings not errors.
Are you seeing them manifest as errors somewhere?

No, we haven’t had any real issues but we have another instance of RT on an ubuntu server and we don’t see the same warnings.
I was wondering if there is something we could do about them.

Track down which emails are causing the warnings and sort out what in
them is triggering the warnings.

Presumably you don’t get the same emails to both servers.

You can also limit which users can send emails that are processed by
CommandByMail.

-kevin

Hi,

I’ve pushed a few updates recently into repository and as part of that
fixed a few annoying warnings. Would you mind testing code from
repository?On Thu, Feb 14, 2013 at 9:07 PM, Kevin Falcone falcone@bestpractical.com wrote:

On Thu, Feb 14, 2013 at 04:09:02PM -0000, Nikolas Chrysandreas wrote:

These are all warnings not errors.
Are you seeing them manifest as errors somewhere?

No, we haven’t had any real issues but we have another instance of RT on an ubuntu server and we don’t see the same warnings.
I was wondering if there is something we could do about them.

Track down which emails are causing the warnings and sort out what in
them is triggering the warnings.

Presumably you don’t get the same emails to both servers.

You can also limit which users can send emails that are processed by
CommandByMail.

-kevin


RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T

Best regards, Ruslan.