[rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
I recently upgraded our RT 3.8.9 by making a new RT 4.0.5 installation and
then moving and upgrading the database by the upgrade instructions. Before
doing so, I upgraded the OS of the computer from Debian Lenny to Debian
Squeeze.

After that, I installed RT-Extension-CommandByMail-0.10 using the
instructions in its INSTALL file.

perl Makefile.PL
make
make install

I made the required changes to /opt/rt4/etc/RT_SiteConfig.pm:

@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
Set(@Plugins, (qw(RT::Extension::CommandByMail)));

However, CommandByMail is not correctly responding to commands in the email
body. The emails just open tickets via the default rt-mailgate
configuration.  Additionally, my /var/log/user.log, debug.log, messages
files aren't showing any CommandByMail entries at all. On the 3.8.9
configuration, there would be entries every time CommandByMail ran.

I have the following level options set in RT_SiteConfig.pm:

Set($LogToSyslog, debug);
Set($LogToScreen, debug);

What should be my next troubleshooting step?


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Thomas Sibley
On 04/18/2012 09:59 AM, Fritz Mahnke wrote:
 I made the required changes to /opt/rt4/etc/RT_SiteConfig.pm:
 
 @MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
 Set(@Plugins, (qw(RT::Extension::CommandByMail)));

You're using the RT 3.6 era syntax for @MailPlugins, not the 3.8 and
beyond era syntax.

   Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

This is noted in INSTALL.


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
That's true, but I tried it both ways. I just changed it:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

And then I issued /etc/init.d/apache2 restart. But the ticket still doesn't
process correctly and no CommandByMail messages in the logs.


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread sunnavy
I suggest you check /Admin/Tools/Configuration.html to see if @MailPlugins and
@Plugins were set successfully.

sunnavy
On 12-04-18 09:30, Fritz Mahnke wrote:
 That's true, but I tried it both ways. I just changed it:
 
 Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
 
 And then I issued /etc/init.d/apache2 restart. But the ticket still doesn't
 process correctly and no CommandByMail messages in the logs.


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
Thank you very much for that useful hint. @MailPlugins was not being set
correctly and I traced it to a typo in RT_SiteConfig.pm after all.

Thanks again!