Description of problem:
Redhat Linux 8.0 includes cyrus-sasl-2.1.7-2 and the saslauthd which allows
unprivileged SASL apps to validate passwords. However, postfix is linked with
cyrus-sasl-1.5.28 (which is also shipped with Redhat 8.0.) The older SASL
library doesn't support saslauthd so postfix can't use it and thus can't
validate passwords against the system password database. It should be linked
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set /usr/lib/sasl/smtpd.conf to say pwcheck_method: saslauthd.
2. Configure postfix to use SASL.
3. Find that authentication always fails.
Expected Results: If postfix were linked with SASLv2 then starting saslauthd
and setting pwcheck_method to saslauthd would allow postfix to work. Otherwise
there is no practical way for unprivileged postfix smtpd to check passwords.
Other than this little shortcoming Postfix as distributed with Redhat Linux 8.0
has all the pieces needed (TLS, SASL, configs) to have authenticated SMTP relay
work out of the box. Unfortunately falls a hair short.
This report is more than a month old, is it possible to make
available improved, binary RPM for public download ?
Please let me know soon.
SASL 1.5.28 does support saslauthd....
Postfix can't be linked against SASL2. Stable Postfix supports SASL1 only
"SASL 1.5.28 does support saslauthd...."
This is true but cyrus-sasl-1.5.28 as shipped does not include a 1.5.28
version of saslauthd. It won't interoperate with the 2.1.7 version.
I finally worked around this problem by building 1.5.28 from SRPM, including
Please keep this in mind for new releases. Other than this little shortcoming
Postfix as distributed with Redhat Linux 8.0 has all the pieces needed (TLS,
SASL, configs) to have authenticated (with system passwd file) SMTP relay work
out of the box. Unfortunately falls a hair short.
This should be addressed in the next rawhide version of postfix, 2.0.11 (will
appear in a few days). This version has been upgraded to use v2 of cyrus-sasl
and saslauthd has been tested (at least with pam) and seems to work fine now. By
the way, there were a number of issues in trying to mix postfix and v1/v2
versions of cyrus-sasl.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.