Last openssl update brakes localhost email sending

Pavel Timofeev timp87 at gmail.com
Thu Jun 18 08:35:24 UTC 2015


Good day to everybody! ;)
My FreeBSD 10.1-RELEASE-p13 amd64 can't send email to localhost anymore!

I know that openssl has been updated, and it raises the bar of bit
size of dh parameters.
I know, there is an update for sendmail to catch up it. But. it didn't help.

Here is one of my servers.
I did not touch anything in /etc/mail after installation of my system.
And of course I didn't create a dh parameters in /etc/mail/certs dir.

root at pyxis-v:~ # freebsd-version
10.1-RELEASE-p13

root at pyxis-v:~ # echo test | mail -s 'aa' ptimofeev at ocs.ru

root at pyxis-v:~ # tail -f /var/log/maillog
Jun 18 11:19:00 pyxis-v sendmail[1122]: t5I8J0F1001122: from=timp,
size=39, class=0, nrcpts=1,
msgid=<201506180819.t5I8J0F1001122 at pyxis-v.ocs.ru>,
relay=root at localhost
Jun 18 11:19:00 pyxis-v sendmail[1122]: STARTTLS=client, error:
connect failed=-1, reason=dh key too small, SSL_error=1, errno=0,
retry=-1
Jun 18 11:19:00 pyxis-v sm-mta[1123]: STARTTLS=server, error: accept
failed=0, reason=sslv3 alert handshake failure, SSL_error=1, errno=0,
retry=-1, relay=localhost [127.0.0.1]
Jun 18 11:19:00 pyxis-v sendmail[1122]: ruleset=tls_server,
arg1=SOFTWARE, relay=[127.0.0.1], reject=403 4.7.0 TLS handshake.
Jun 18 11:19:00 pyxis-v sendmail[1122]: t5I8J0F1001122:
to=ptimofeev at ocs.ru, ctladdr=timp (1001/1001), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30039, relay=[127.0.0.1]
[127.0.0.1], dsn=4.0.0, stat=Deferred: 403 4.7.0 TLS handshake.
Jun 18 11:19:00 pyxis-v sm-mta[1123]: t5I8J0p5001123: localhost
[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to
Daemon0


Why it complains about too small dh key?! I don't have them. No
changes in /etc/mail since installation. What's going on?

So looks like everybody who updated their systems to p-1(2|3) has to
do some stuff (openssl dhparam -out dh.param 2048).
IMO, it's really, really bad.
Am I wrong, misunderstanding or doing something wrong?


More information about the freebsd-stable mailing list