I can configure postfix with e.g. recipient_bcc_maps to copy sender or recipient emails to an address. However what I need is to not just forward a copy of the original mail, but rather to compose a new blank email from the original sender/recipient and attach the original email as a .eml attachment. The destination is a 'dropbox' for a webapp and requires the email be forwarded as an attachment. What's a simple way to achieve this on Linux ?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||
|
|
I'm pretty sure you can achieve this by using content filters. See http://www.postfix.org/FILTER_README.html. But keep in mind that any mail Postfix receives will invoke that filter/script. From a performance or security point of view it might not be the best solution. |
|||
|
|