On 20/3/22 6:41 am, Jeremy Ardley wrote:
Does anybody have a working example of postfix with postscreen and spamassassin all working together?
I have now found that 'pass' stanzas for each SMTP IP on a multi-homed machine are ignored. The only pass stanza that is used is the generic SMTP handler smtpd pass - - y - - smtpd -o content_filter=spamassassin However the individual stanzas that call postscreen do work (possibly the keyfiles specified in main.cf are used instead of the -o?) 192.0.2.1:smtp inet n - y - 1 postscreen -o smtpd_client_connection_count_limit=100 -o smtpd_tls_key_file=/etc/letsencrypt/live/mail.example.com/privkey.pem -o smtpd_tls_cert_file=/etc/letsencrypt/live/mail.example.com/fullchain.pem 2001:db8::1:smtp inet n - y - 1 postscreen -o smtpd_client_connection_count_limit=100 -o smtpd_tls_key_file=/etc/letsencrypt/live/mail.example.com/privkey.pem -o smtpd_tls_cert_file=/etc/letsencrypt/live/mail.example.com/fullchain.pem -- Jeremy
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature