Tuesday, March 12, 2013

Automatic add attachment to message

If you need to simply add some attachment to every or only to specified message (like from specified sender, recipient or by message subject) try this. MSH Traffic Policy with Add Attachment action will be best solution for this scenario.

When you have defined your condition (see all available options), choose Add Attachment action from menu.

New window will be open. Provide an absolute path to file which is located on server. In our example I'll use /usr/attachments/brochure.pdf file.
Add Attachment with Postfix and Sendmail

After saving changes, to all messages which are matching conditions brochure.pdf attachment will be added.