Getting error sending mail via smtpd

Hi all,

Subject: Postfix / SMTPD port 465 secure mail errors:

1.) Here's the error I get from the application:

routines:SSL23GETSERVERHELLO:unknown protocol:../deps/openssl/openssl/ssl/s23clnt.c:782:

2.) Here's the message from Postfix mail.log

Aug 2 09:51:57 localhost postfix/smtpd[19598]: connect from mail.tradersoles.com[127.0.0.1]
Aug 2 09:51:57 localhost postfix/smtpd[19598]: lost connection after UNKNOWN from mail.tradersoles.com[127.0.0.1]
Aug 2 09:51:57 localhost postfix/smtpd[19598]: disconnect from mail.tradersoles.com[127.0.0.1] unknown=0/1 commands=0/1

3.) Here's the mynetworks parameter in main.cf:

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/172.104.219.196/24

Any advice for me?

Thanks,
Adam

1 Reply

Hey there!

Just to make sure, can you also provide us a little more of your TLS parameters from your main.cf file? They should look similar to the following:

# TLS parameters
smtpd_tls_cert_file=/etc/letsencrypt/live/example.com/fullchain.pem
smtpd_tls_key_file=/etc/letsencrypt/live/example.com/privkey.pem
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous

You can see a bit more at our Postfix Dovecot and MySQL guide. I would also recommend checking your firewalls and that you have services listening on port 465. Using iptables-save should help you check the firewall and netstat -plunt should show you any services with network connections and what ports they are listening on.

From your local machine, are you able to telnet to the Linode over port 465? You can test with the command telnet <IP address> 465. Can you also let us know some of the other connected services? Are you using Dovecot and MySQL in combination with Postfix? Are you using nodemailer?

I hope this helps get you pointed in the right direction!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct