On Nov 18, 2016, at 10:18 PM, MRob <mro...@insiberia.net> 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.
It’s unclear why you are doing this, but if you want to run SA after delivery then the time to do that is in your LDA. *HOW* to do that, depends on your LDA. If you are using dovecot, then you can call SA from sieve. If not, you can setup procmail as an LDA (or others), and call SA from there. A quick google on setting up SA with procmail or sieve or maildrop should lead to profit. (I use procmail, but do not recommend it as it has ceased active development. Still works fine, but maildrop is probably a better choice).