Target the right messages with conditions and exceptions

A rule that applies to every message is rarely what you actually want. MSH Postfix Milter gives every rule type the same rich set of conditions: message direction, sender, recipient, headers, subject or body content, attachment name, type, size and count, message size, and even how many messages a sender or recipient has generated recently.

Exceptions use that exact same set of options, just in reverse. The application checks exceptions first, and if none of them match, it moves on to evaluate the conditions. Only when a condition is met does the rule’s action actually run.

Policy rule conditions panel in MSH Postfix Milter

Conditions and exceptions working together

That combination lets you write precise rules without stacking a dozen separate ones. For example, a rule could target all outgoing messages over 20 MB, except when the sender belongs to the IT department, so oversized attachment handling applies everywhere it should without breaking the one team that legitimately needs to send large files.

To learn more visit MSH Postfix Milter website.