Scrips wouldn’t help you because they get processed after ticket creation.
If I were in your position I’d probably try dealing with this at the mail
delivery level, e.g. by adding some sort of postprocessor that rewrites
incoming mail when it encounters attachments with certain MD5/SHA checksums.
I imagine that doing this by attachment filename would be a bad idea,
because theoretically desired attachments could have those filenames.
I don’t know whether this is technically feasible, but another option might
be to write a script (as opposed to scrip) that prunes matching attachments
from RT’s database (which would also take care of tickets created up to
What is your main concern about these attachments reaching RT? Database
storage? UI cosmetics? Depending on the actual concern, other solutions
might exist.On 3 Feb 2015 5:16 am, “Trev” firstname.lastname@example.org wrote:
My situation is this, I have users sending in support requests and they
are processing just fine. I am using fetchmail and mailgate, no problems,
tickets get created etc…
I want to strip attachments however, specifically those associated with
signatures internal to the company.
How can I best go about stripping these?
Preferably based on attachment name:
Thanks in advance!