On 24.04.23 14:23, Wayne Spivak via Postfix-users wrote:
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).
port 587 usually required authentication and I don't recommend to change this.
I just added Amavis Clamscan, which is working correctly.
clamscan? Perhaps you should run daemon clamd which workc much faster.
How do I create another smtp port that will allow PHPList to bypass Amavis?
It's funny that you have asked this on clamav mailing list, got advise to solve this on amavis list, and went here to postfix list instead.
With a 15K address list, the load on the server would cripple it if it checked every list broadcast.
add this service to master.cf, similar to: https://amavis.org/README.postfix.html#basics_smtpd-daemon and feed PHPList output to 127.0.0.1:10026 127.0.0.1:10026 inet n - n - - smtpd -o syslog_name=postfix/submission-nocheck -o smtpd_tls_security_level=none -o content_filter= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o smtpd_restriction_classes= -o mynetworks=127.0.0.0/8 -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters -o local_header_rewrite_clients= - you get lines "postfix/submission-nocheck/smtpd" in syslog - no tls for local communication - authentication not required nor enabled -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. There's a long-standing bug relating to the x86 architecture that allows you to install Windows. -- Matthew D. Fuller _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
