Hello all,

Is there any way that i can use 2 content filters? system works for ONE of the entries below (main.cf). I have also tried content_filter = scan:127.0.0.1:10025, spamassassin with no luck (getting mail transport unavailable)
I use clamsmtp for clamav connection.

thanks in advance

Bill

ps: As you can undestand i need to avoid Amavis like hell ;-)


main.cf
=========
#content_filter = scan:127.0.0.1:10025
content_filter = spamassassin

master.cf
=========
spamassassin unix -     n       n       -       -       pipe
       user=nobody argv=/usr/local/spamassasin/bin/spamc -f -e
       /usr/sbin/sendmail.postfix -oi -f ${sender} ${recipient}

scan      unix  -       -       n       -       16      smtp
       -o smtp_send_xforward_command=yes
       -o smtp_enforce_tls=no
# For injecting mail back into postfix from the filter
127.0.0.1:10026 inet  n -       n       -       16      smtpd
       -o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
       -o smtpd_helo_restrictions=
       -o smtpd_client_restrictions=
       -o smtpd_sender_restrictions=
       -o smtpd_recipient_restrictions=permit_mynetworks,reject
       -o mynetworks_style=host
       -o smtpd_authorized_xforward_hosts=127.0.0.0/8

Reply via email to