Monday, July 14, 2014

Advanced variables with MSH Traffic Policy

MSH Traffic Policy for Postfix and Sendmail is an email management system which allows to set server sided rules for automatic content control and flow administration.

If you need to:
  • take control over your mail flow 
  • block unwanted spam 
  • check email messages sensitive content 
  • limit number of recipients, attachment or message size 
  • modify message headers, message sender and recipients 
  • sent new and forward messages 
  • add disclaimers

MSH Traffic Policy main application window.

Advanced variables?


Variables could be used in actions and conditions, they will be replaced with proper values while processing messages.

Message Misc 
  • ${message:id} Message unique identifier, value of X-MSH-Id header added by MSH Traffic Policy. 
  • ${message:subject} Message subject, shortcut for ${message:header:subject}. 
Message Envelope 
  • ${message:envelope:sender} Message envelope sender. 
  • ${message:envelope:recipients} Message envelope recipients. If more than one then separated with comma. 
  • ${message:envelope:recipients:count} Message envelope recipients count. 
Message Size 
  • ${message:size} Message size in default size unit (kB). 
  • ${message:size:b} Message size in bytes. 
  • ${message:size:kb} Message size in kilobytes 
  • ${message:size:mb} Message size in megabytes. 
  • ${message:size:gb} Message size in gigabytes.

That's all? No.


It's only small part of advanced variables and overview. Find out more about policies for Postfix and Sendmail...