> I run a postfix install which requires authentication and pipes all email 
> through Amavis (spam checking).
>  
> My PHPList (broadcast only) goes through port 587, and since it sits on the 
> server, it doesn’t need authentication (I’m the only user).
>  
> I just added Amavis Clamscan, which is working correctly.
>  
> How do I create another smtp port that will allow PHPList to bypass Amavis?  
> With a 15K address list, the load on the server would cripple it if it 
> checked every list broadcast.


/etc/postfix/master.cf

submission inet n       -       n       -       -       smtpd
  -o smtpd_sasl_auth_enable=yes
  ...
  #-o smtpd_proxy_filter=
  #-o content_filter=

Copy your submission block and replace submission with another port.
A typical example for amavisd reinjection is:

127.0.0.1:10025 inet n  -       n       -        -      smtpd
  ...

That way smtpd is bound to 127.0.0.1 Port 10025 instead of submission.
Just choose another ip and/or port that suits you.

Do not set a content_filter or smtpd_proxy_filter to bypass amavis.
If content_filter is set globally in main.cf, disable it for this service:
  -o content_filter=

Keep in mind there are no spaces around "=" in master.cf.

Best regards,
Gerald

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to