Strip out commands
source: https://rt.cpan.org/Public/Bug/Display.html?id=31795
When using CommandByMail extension, if you don't want the commands used to appear in the tickets, for instance so that the requestor don't see them in the email he receives, you can use following procedure:
Apply patch found here to your TakeAction.pm file from CommandByMail (in Debian: /usr/local/share/request-tracker4/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm).
Then add the corresponding option in your RT_SiteConfig.pm file:
- # Strip commands out of body before sending mail
- Set($CommandByMailStripOut, 1);
In Debian, this means adding above lines to your /etc/request-tracker4/RT_SiteConfig.d/xx-commandbymail.pm file (you should have created it when installing this extension) then run command:
- update-rt-siteconfig