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.

        Wietse

Reply via email to