saslauthd, sendmail, and AUTH
eje at ewanco.com
Wed Jul 12 15:01:06 EDT 2006
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
Sendmail, however, refuses to provide the AUTH command and complains
Jul 12 14:11:49 polycarp sendmail: 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 at polycarp eje]# /usr/local/sbin/saslauthd -v
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?
mech_list: PLAIN CRAM-MD5 DIGEST-MD5
I tried running saslauthd in debug mode but it printed out nothing when
I invoked Sendmail.
define(`confAUTH_MECHANISMS',`LOGIN PLAIN DIGEST-MD5')
TRUST_AUTH_MECH(`LOGIN DIGEST-MD5 PLAIN')
# __ __ Eric Ewanco
# IC | XC eje at ewanco.com
# ---+--- http://www.ewanco.com/~eje
# NI | KA Shrewsbury, MA; USA
More information about the Cyrus-sasl