On 4/14/2010 11:02 PM, Gary Smith wrote:
We use a filter to break out and run our spamassassin and other checks. In bash 
shell that process, we have a need to insert a custom unique header per email 
for compliance.  Is there a simple way of doing this without having to go into 
any special mime processing of the message?

Gary Smith



Is there some reason the Message-ID won't work as a unique identifier?

You can use a policy server to insert a header based on envelope information.
http://www.postfix.org/SMTPD_POLICY_README.html

If your header must be based on the message content, you'll need a milter or content_filter.


  -- Noel Jones

Reply via email to