Count attachments
Some time ago I was asked to count all attachments which were going through the mail server. It looks like a simple task, but what if it could be even simpler?
MSH Traffic Policy it’s a heavy duty machinery for email processing, it’s suited for almost every action which could be done with email flow.
Attachments count condition/exception
Application has built-in requirements for checking how many messages have attachments. Based on this condition, a message could be blocked, attachments removed and a disclaimer appended.
Attachments count variable
Any message property could be passed to a script and then to a file, database, or network share. Advanced variables together with the Run Executable action make email statistics very easy.
Need something else?
Application works as a milter which integrates with popular mail servers, like Postfix and Zimbra. Server side rules for automatic flow control will help with:
- blocking unwanted spam
- limiting number of recipients, attachments, sent messages
- modify message headers, sender and recipients
- create autoreplies and append disclaimers
To learn more visit MSH Traffic Policy website.