Excluding Commands from CommandbyMail parsing

Chris McClement <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <CAA3zkm+kRV0M+3hd=nMbt5S2=nOhKhbjbuAh5ehpPXqG_A82yw@mail.gmail.com>
I've implemented the CommandbyMail extension (
http://search.cpan.org/dist/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm)
in my RT 4.4.4 installation. It works well - almost too well!  I am getting
"Extended Mailgate Errors" returned because the plugin is parsing the
message body for "Command: value" (which it is meant to do) and picking up,
in emails forwarded to RT:

"To: [email protected]"
"From: [email protected]"
"sent: the_date_sent"

And trying to process them as commands.

In addition, forwarded emails have "Subject: [Support ID #12345]
some_new_subject" and this is changing the subject of the RT job to the new
subject, which is different from the subject used when the ticket was
originally created.

Is there a way to stop CommandbyMail from parsing "to:" "from" and "sent:"
as commands, or at least configuring it to not return errors when it fails
to match it to a valid command? And is there a way to prevent parsing
"Subject: xxxx" so that my subjects no longer change?

---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.