saslauthd, sendmail, and AUTH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having a heck of a time getting Sendmail 8.13.1 to authenticate using Cyrus saslauthd 2.1.13. I need help isolating my problem to either saslauthd or Sendmail.

Saslauthd has worked fine with Cyrus imapd for years. If I test it using testsaslauthd, it authenticates fine with a service name of smtp or imap.
Sendmail, however, refuses to provide the AUTH command and complains

Jul 12 14:11:49 polycarp sendmail[1322]: AUTH warning: no mechanisms

I have followed several sets of instructions for configuring Sendmail for saslauthd and none have worked.
I am invoking saslauthd with the -a shadow option.

Is there a way to determine which mechanisms are available?  I did this:
[root@polycarp eje]# /usr/local/sbin/saslauthd -v
saslauthd 2.1.13
authentication mechanisms: getpwent pam rimap shadow

How come the "mechanisms" cited by the -v option don't match up with the mech_list in the configuration file (below), but rather match the "methods"? Which type of mechanism is Sendmail complaining about?

/usr/lib/sasl2/Sendmail.conf says:

#pwcheck_method: saslauthd
pwcheck_method: shadow
mech_list: PLAIN CRAM-MD5 DIGEST-MD5

I tried running saslauthd in debug mode but it printed out nothing when I invoked Sendmail.

sendmail.mc contains:
define(`confAUTH_MECHANISMS',`LOGIN PLAIN DIGEST-MD5')
define(`confAUTH_OPTIONS',`y,p,a')
TRUST_AUTH_MECH(`LOGIN DIGEST-MD5 PLAIN')
...
LOCAL_CONFIG
ESASL_PATH=/usr/lib/sasl2

Thanks!

Eric Ewanco

--
# __ __ Eric Ewanco # IC | XC eje@xxxxxxxxxx
# ---+---            http://www.ewanco.com/~eje
# NI | KA                Shrewsbury, MA; USA



[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux