On 8/21/2017 5:44 PM, Alef Veld wrote: > It's open, but i just don't get any welcome message. > > |[ec2-user@www postfix]$ telnet localhost 587 Trying 127.0.0.1... > Connected to localhost. Escape character is '^]'. ehlo > www.example.com <http://www.example.com> | > > maillog: > > |Aug 21 22:29:01 www postfix/smtpd[26978]: initializing the > server-side TLS engine Aug 21 22:29:01 www postfix/smtpd[26978]: > connect from www.test.com <http://www.test.com>[127.0.0.1] Aug 21 > 22:29:01 www postfix/smtpd[26978]: setting up TLS connection from
[logs unreadable due to html markup. plain text only please] > > I fear this has something to do why i've been having problems with > setting up the mail accounts on other systems as well. I get these > -1 messages when i try to "auto discover" the mail server on iMac > mail.app as well. > > Usually switching to non secure and then back to SSL fixes it. It > has something to do with SSL i'm sure. I'm using self signed > certificates and i can send and receive fine (dovecot and postfix). > > Anyway just wondering. I should at least be able to get a welcome > message? > > You should get a 220 greeting message on the submission port 587 unless you've mistakenly enabled smtpd_tls_wrappermode on that port. To test smtps port 465, you'll need to use the openssl s_client command to establish an encrypted connection. Something like: openssl s_client -connect localhost:465 If that connection works, you'll get a screen full of key exchange followed by a 220 greeting. For more help, please show your "postconf -n" and the submission and smtps entries you've made in master.cf. -- Noel Jones