You still need the 'Plugin' line, so you'll want to uncomment:

Plugin('RT::Extension::CommandByMail');

I'd be curious why the file wasn't installed when your ran 'make install' only because the underlying issue might lead to other problems. You might try running the install again to make sure the files are installed correctly.

Lastly, note that we have one report of an issue with the CommandByMailGroup option that we're investigating.

On 5/18/16 4:45 PM, Chris McClement wrote:
I need some advice with getting the CommandByMail extension working.
I've followed the installation instructions
here: 
http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm

I'm on 4.4 so I've commented out the old @Mailplugin lines in
RT_Siteconfig.pm

Here's an excerpt from RT_Siteconfig.pm where I've tried to add in the
correnct lines:

# RT 4.2 plugins are not forward compatible with RT 4.4 - removed the
following (CJM)
#Plugin('RT::Extension::CommandByMail');
#Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
#Set( $CommandByMailGroup, 'APNK Staff');

# added for 4.4. by CJM
 #Set( @MailPlugins,
  #          "Action::Take",
   #     );

# added by CJM
# enables updating the status of a ticket via email
Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

I've included the commented bits because that shows what I removed when
I upgraded to 4.4.

I have also applied the patch as specified in the instructions.

During early troubleshooting I looked for CommandByMail.pm and could not
find it in my RT installation. With some guesswork I figured it should
be found here:

/opt/rt4/lib/RT/Interface/Email/Action/

I downloaded the source .pm from the cpan.org <http://cpan.org> page
linked above and copied it to that folder. I've checked that the
permissions for it are the same as the other files there.

Am I even on the right track here? I'm sending an update to RT with
"Status: resolved" as the only line in the body and the ticket isn't
changing status.

Regards,
Chris


---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016

---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016

Reply via email to