I can send emails over port 465 using smtper.net just fine. It's the clients (thunderbird, k-9,..) that cause an error when there is supposed to be EHLO. STARTTLS works perfectly for both, dovecot and postfix. TLS works perfectly for dovecot. Only postfix TLS is giving me trouble. What could be the problem here? Thanks!
NOT WORKING CONNECTION FROM MY PC/PHONE ("Thunderbird failed to find the settings for your email account.") --------------------------------------------------------------------------------- Sep 7 02:42:49 myserver postfix/smtpd[20128]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN Sep 7 02:42:49 myserver postfix/smtpd[20128]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN Sep 7 02:42:49 myserver postfix/smtpd[20128]: < my.isp.com[1.2.3.4]: ??? Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ??? ~? connect Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ??? ~? get Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ??? ~? post Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_list_match: ???: no match Sep 7 02:42:49 myserver postfix/smtpd[20128]: > my.isp.com[1.2.3.4]: 502 5.5.2 Error: command not recognized Sep 7 02:42:49 myserver postfix/smtpd[20128]: < my.isp.com[1.2.3.4]: ?????? Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? connect Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? get Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? post Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_list_match: ?: no match Sep 7 02:42:49 myserver postfix/smtpd[20128]: > my.isp.com[1.2.3.4]: 502 5.5.2 Error: command not recognized Sep 7 02:42:49 myserver postfix/smtpd[20128]: < my.isp.com[1.2.3.4]: ? Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? connect Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? get Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_string: smtpd_forbidden_commands: ? ~? post Sep 7 02:42:49 myserver postfix/smtpd[20128]: match_list_match: ?: no match Sep 7 02:42:49 myserver dovecot: imap-login: Aborted login (no auth attempts in 1 secs): user=<>, rip=1.2.3.4, lip=my.server.ip.here, TLS, session=<2ZdzST117MJXe3ri> Sep 7 02:42:54 myserver postfix/smtpd[20128]: > my.isp.com[1.2.3.4]: 502 5.5.2 Error: command not recognized Sep 7 02:42:59 myserver postfix/smtpd[20128]: > my.isp.com[1.2.3.4]: 421 4.7.0 mx.my-email-server.com Error: too many errors --------------------------------------------------------------------------------- WORKING CONNECTION FROM SMTPER --------------------------------------------------------------------------------- Sep 7 02:46:51 myserver postfix/smtpd[20169]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN Sep 7 02:46:51 myserver postfix/smtpd[20169]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN Sep 7 02:46:51 myserver postfix/smtpd[20169]: < ns513574.ip-192-99-9.net[192.99.9.142]: EHLO SkyWeb Sep 7 02:46:51 myserver postfix/smtpd[20169]: match_list_match: ns513574.ip-192-99-9.net: no match Sep 7 02:46:51 myserver postfix/smtpd[20169]: match_list_match: 192.99.9.142: no match Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-mx.my-email-server.com Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-PIPELINING Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-SIZE 100000000 Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-ETRN Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-AUTH PLAIN LOGIN Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-AUTH=PLAIN LOGIN Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-ENHANCEDSTATUSCODES Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250-8BITMIME Sep 7 02:46:51 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 250 DSN Sep 7 02:46:52 myserver postfix/smtpd[20169]: < ns513574.ip-192-99-9.net[192.99.9.142]: AUTH login ZW1haWxAbXktZW1haWwtc2VydmVyLmNvbQ== Sep 7 02:46:52 myserver postfix/smtpd[20169]: xsasl_dovecot_server_first: sasl_method login, init_response ZW1haWxAbXktZW1haWwtc2VydmVyLmNvbQ== Sep 7 02:46:52 myserver postfix/smtpd[20169]: xsasl_dovecot_handle_reply: auth reply: CONT?1?UGFzc3dvcmQ6 Sep 7 02:46:52 myserver postfix/smtpd[20169]: > ns513574.ip-192-99-9.net[192.99.9.142]: 334 UGFzc3dvcmQ6 Sep 7 02:46:52 myserver postfix/smtpd[20169]: < ns513574.ip-192-99-9.net[192.99.9.142]: MTIzNDU= Sep 7 02:46:52 myserver postfix/smtpd[20169]: xsasl_dovecot_handle_reply: auth reply: OK?1?user=em...@my-email-server.com? ---------------------------------------------------------------------------------