Thank you
From: Gerald Galster via Postfix-users <postfix-users@postfix.org> Sent: Tuesday, April 25, 2023 10:05 AM To: Postfix users <postfix-users@postfix.org> Subject: [pfx] Re: Postfix Amavis (Virus Checker) PHPList workaround Applicable snippets from files are: My main.cf content_filter=smtp-amavis:[127.0.0.1]:10024 meta_directory = /etc/postfix smtp_tls_security_level = may smtpd_tls_security_level = may I did this to master.cf 127.0.0.1:2510 inet n - n - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated -o milter_macro_daemon_name=ORIGINATING -o content_filter= check if those lines are beginning with whitespace (tab/space): 127.0.0.1:2510 inet n - n - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated -o milter_macro_daemon_name=ORIGINATING -o content_filter= Depending on the mail-/logvolume on the server you might temporarily set " -o syslog_name=postfix/submission2510" to distinguish submission (587) and submission (2510). My PHPList config.php file shows define('PHPMAILERHOST', '127.0.0.1'); define('PHPMAILERPORT',2510); define('PHPMAILER_SECURE',true); If connections are originating from localhost only, you don't need encryption (PHPMAILER_SECURE / "-o smtpd_tls_security_level=encrypt"). With encryption you need to check if PHPMAILER verifies certificates and if verification is successful. Usually this requires a certificate signed by a certification authority like letsencrypt. Self-signed certificates can be problematic in this context. Apr 25 08:52:08 mcq postfix/submission/smtpd[18972]: lost connection after STARTTLS from localhost[127.0.0.1] This might be a hint that validation is not successful - PHPMAILER drops the connection. Perhaps you can enable a debug log in PHPMAILER for more information. Best regards, Gerald
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org