opensmtpd-5.7.1 - cannot authenticate

Pietro Cerutti gahr at
Mon Jul 27 18:47:58 UTC 2015


I tried to upgrade from 5.4.6 to 5.7.1, and suddenly I am unable to
authenticate.  This is from the log file:

Jul 27 17:05:03 mail smtpd[12146]: smtp-in: Failed command on session
a0516551dc7a4dc4: "AUTH PLAIN (...)" => 501 5.5.2 Syntax error: Syntax

Relevant config lines area

pki mydomain certificate   "/usr/local/etc/mail-admin/tls/server.crt"
pki mydomain key           "/usr/local/etc/mail-admin/tls/server.key"
table credentials file:/usr/local/etc/mail-admin/db/auth-smtp.db
listen on secure auth-optional <credentials> pki mydomain

I am able to switch from the 5.4.6 to the 5.7.1 binary and reproduce
that I can send mail with the former and cannot with the latter. No
config has changed.

Any help is appreciated.

Pietro Cerutti
The FreeBSD Project
gahr at

PGP Public Key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list