<p dir="ltr">Scrips wouldn't help you because they get processed after ticket creation.</p>
<p dir="ltr">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.</p>
<p dir="ltr">I imagine that doing this by attachment filename would be a bad idea, because theoretically desired attachments could have those filenames.</p>
<p dir="ltr">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 this point).</p>
<p dir="ltr">What is your main concern about these attachments reaching RT? Database storage? UI cosmetics? Depending on the actual concern, other solutions might exist.</p>
<div class="gmail_quote">On 3 Feb 2015 5:16 am, "Trev" <<a href="mailto:trevor@onepost.net">trevor@onepost.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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...<div><br></div><div>I want to strip attachments however, specifically those associated with signatures internal to the company.</div><div><br></div><div>How can I best go about stripping these?</div><div><br></div><div>Preferably based on attachment name:</div><div>image001.png</div><div>image002.png</div><div><br></div><div>Thanks in advance!</div></div>
</blockquote></div>