Add attachments to specified emails
Postfix is a mail transfer agent (MTA); its job is to handle the delivery of mail, picking it up and sending it to the next point on its route. Like a postal worker, whose job is to take an envelope and carry it to the recipient. But sometimes you need to extend its functionality with some other job, like adding attachments to only specified email messages.
MSH Traffic Policy is a milter which extends basic MTA functionality with powerful tools.
Add attachment to outgoing mails
Think about task when you need to add PDF file to each email message which is going to @gmail.com recipient.
There is only one answer Recipient Condition with Add Attachment action.
After defining a rule with this condition and action, mail going to @gmail.com recipients will be sent with an attachment.
If you need to:
- manipulate attachments and remove, strip and count them,
- manipulate sender and recipients, block messages, and filter using keywords
- add disclaimers
- and many more
To learn more visit MSH Traffic Policy website.