--- On Wed, 5/19/10, Wietse Venema <wie...@porcupine.org> wrote:
> From: Wietse Venema <wie...@porcupine.org> > Subject: Re: Disable Connection Cache for local filters > To: "Postfix users" <postfix-users@postfix.org> > Date: Wednesday, May 19, 2010, 7:16 AM > Harakiri: > > However, i would like to disable this for local > filters > > (anti/spam/virus) because sometimes they may get > confused and do > > not support this behaviour. > > This is an example from http://www.postfix.org/FILTER_README.html, > with an extra command-line option to turn off connection > caching > for the content filter. > > /etc/postfix/master.cf: > # > ============================================================= > # service type private unpriv > chroot wakeup maxproc command > # > (yes) (yes) (yes) (never) > (100) > # > ============================================================= > scan unix - > - > n - > 10 smtp > -o smtp_send_xforward_command=yes > -o disable_mime_output_conversion=yes > -o smtp_generic_maps= > -o smtp_connection_cache_on_demand=no > > > It should still be active when sending to the next > hop. > > Or perhaps use a not-so-buggy content filter. I tested it with -o smtp_connection_cache_on_demand=no but its still reusing the connection. Im using that line on the external SMTPD entry with the -o content_filter= option. > > Wietse >