I’ve just set up my first Postfix/dovecot email server using Workaround Jessie Guide; now all works fine, except for the authentication user method, that work on plain text but not on encrypted mode.
All seem (at least to me) configured well:
smtpd_tls_security_level = may smtpd_tls_key_file = /etc/letsencrypt/live/server.sio4.org/privkey.pem smtpd_tls_cert_file = /etc/letsencrypt/live/server.sio4.org/fullchain.pem smtpd_tls_auth_only = yes
submission inet n - - - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject
ACCEPT net $FW tcp 25 #POSTFIX
But, I’m unable to connect using “openssh”:
openssl s_client -connect server.sio4.org:25 -starttls smtp
I’m wondering if the issue could be the letsencrypt certificate, whom doesn’t include the correct domain or a bad Postfix configuration. Because all seem fine to me, but it is also true that this is the first time that I set an email server