On 2016-11-18 21:18, MRob wrote: > I am looking at a system where SpamAssassin is called out from the > delivery agent. I know there will be a difference here in terms of the > envelope information but I'm not familiar enough to know the pitfalls of > this versus calling SA from the postfix content_filter. > > Specifically, I believe it's recommended to call SA in context of > receive_override_options=no_address_mappings but this wouldn't be the > case when we are in the delivery agent I think. What are the effects of > this?
I do a similar thing, but with Exim. I preserve the envelope information by configuring Exim to insert Return-Path and X-Envelope-To headers. Any way you can do this with Postfix is probably quite specific to that MTA. -- Please *no* private Cc: on mailing lists and newsgroups Personal signed mail: please _encrypt_ and sign Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html