I'd like to allow our users to respond to messages with particular subjects/headers by emailing back files. I don't think that I can do this with Sieve vacation because vacation creates a plain text part rather than expecting a raw MIME structure.
What's the best way to achieve this? Is it to create some kind of Sieve vacation extension that can take a file name instead of text as an argument, and treat that file as a raw message to send (or as a file to attach to the email)? Where would I look in the code to do this? Or is there an altogether different place to implement this?