On Thursday, March 05, 2009 at 00:22 CET,
     "Daniel L. Miller" <dmil...@amfes.com> wrote:

> Noel Jones wrote:
>
> > Define content_filter in main.cf pointing to the spam processing
> > machine, define a new smtpd listener in master.cf listening on a
> > different port.
> > http://www.postfix.org/FILTER_README.html
> >
> > Amavisd-new is software often used as a postfix content_filter.
> > Even if you're using something different, the postfix setup is
> > pretty much the same.
> > http://www.ijs.si/software/amavisd/README.postfix.html
>
> What's the difference between "content_filter" and "relayhost"?

content_filter is applied on input, i.e. before Postfix has made any
decision about the destiny of the message. In other words, it applies
to all messages.

relayhost is applied on output for destinations that Postfix has deemed
non-local.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to