Count attachments
Someday ago I was asked to count all attachments which were going through 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 have built-in requirements for checking how many message have attachments. Based on this condition, message could be blocked, attachments removed and disclaimer appended.
Attachments count variable
Any message property could be passed to script and then to file, database, or network share. Advanced variables together with Run Executable action makes email statics very easy.
Need something else?
Application works as milter which integrate with popular mail servers, like: Postfix and Zimbra. Server side rules for automatic control flow, 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.