Strip out commands

From Request Tracker Wiki
Revision as of 16:37, 6 April 2016 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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 file from CommandByMail (in Debian: /usr/local/share/request-tracker4/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/

Then add the corresponding option in your 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/ file (you should have created it when installing this extension) then run command: