Firstly, thanks guys for what seems like an awesome project!
I’m playing around with NethServer 7.7.1908 and when setting up the email server I also setup a smarthost. Occasionally, not on all emails, when I check the queue there is half a dozen or so emails that have the error message:
“TLS is required, but was not offered by host”
What I don’t understand is why this happens to only a few emails. If I remove the smart host and flush the mail queue the emails get sent successfully. I have used 2 different smarthosts and both get the same issue. One is my ISP and the other is an internal mail server.
Here are the 2 excerpts as requested the first using the internal mail server as smarthost and the second using the ISPs mail server (domains changed for display purposes):
Oct 22 18:27:27 nethserver postfix/smtp: ADD8516B091: to=<root@.com.au>, relay=192.168.8.2[192.168.8.2]:25, delay=0.12, delays=0.1/0.02/0/0, dsn=4.7.4, status=deferred (TLS is required, but was not offered by host 192.168.8.2[192.168.8.2])
Oct 22 18:27:31 nethserver postfix/smtpd: connect from unknown[126.96.36.199]
Oct 22 18:27:31 nethserver rspamd: ; proxy; proxy_accept_socket: accepted milter connection from /var/run/rspamd/worker-proxy
Here is the ISP log excerpt:
Oct 23 10:24:56 nethserver postfix/smtp: 47E8216F37A: to=<@<domain.com.au>, relay=mail.internode.on.net[188.8.131.52]:25, delay=8655, delays=8655/0.04/0.5/0, dsn=4.7.4, status=deferred (TLS is required, but was not offered by host mail.internode.on.net[184.108.40.206])