I have configured Redmine email integration and while it's awesome, a major annoyance is that people have signatures that include a company logo, which then gets posted to every ticket they update via email. I know this is not a perfect solution but I would like to pipe to a script that deletes attachments named "image001.png" from the message so I can then pipe it along to the handler. Are there tools available to help with this, or do I have to start from scratch?
Before: alias > mailhandler.rb
After: alias > parser.script > mailhandler.rb