[SOLVED] I keep getting this error in sendmail: AUTH=client, available mechanisms do not fulfill requirements
by john.wythe@activant.com from LinuxQuestions.org on (#6CSVM)
I am using CentOS 6.10, sendmail version 8.14.4
# sendmail -d0.1 -bv root
Version 8.14.4
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = xxxxxxxxxx
(canonical domain name) $j = xxxxxxx.xxxxxx.local
(subdomain name) $m = xxxxxxx.local
(node name) $k = xxxxxx.xxxxxxxx.local
========================================================
root... deliverable: mailer local, user root
Here is my Authinfo line from access:
AuthInfo:mail.xxxxxxxx.com "U:silk@xxxxxxxxxxxxx.com" "I:silk@xxxxxxxx.com" "P:xxxxx" "M:AUTH=LOGIN"
I have tried M:AUTH, M:AUTH LOGIN, M:LOGIN. None seem to work. AUTH=LOGIN gives me the indicated error, the others say that I can't send mail without authenticating.
What is the correct entry for M:?
The mail server I am talking to reports only that AUTH LOGIN is available.
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE 52428800
250-DSN
250-AUTH LOGIN
250-DELIVERBY
250 HELP
saslauthd is installed and running.
The following cyrus-sasl packages are installed:
cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-ldap-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-gssapi-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-ntlm-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64
Here are some relevant settings from my sendmail.mc file:
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 AUTH=LOGIN AUTH=client AUTH LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 AUTH=LOGIN AUTH=client AUTH LOGIN PLAIN')dnl
Should I be using FEATURE(authinfo) ? Maybe saslauthd needs that.
My questions are:
What is the correct entry for M: in my access file?
Do I need to use FEATURE(authinfo)?
Any other suggestions?
# sendmail -d0.1 -bv root
Version 8.14.4
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = xxxxxxxxxx
(canonical domain name) $j = xxxxxxx.xxxxxx.local
(subdomain name) $m = xxxxxxx.local
(node name) $k = xxxxxx.xxxxxxxx.local
========================================================
root... deliverable: mailer local, user root
Here is my Authinfo line from access:
AuthInfo:mail.xxxxxxxx.com "U:silk@xxxxxxxxxxxxx.com" "I:silk@xxxxxxxx.com" "P:xxxxx" "M:AUTH=LOGIN"
I have tried M:AUTH, M:AUTH LOGIN, M:LOGIN. None seem to work. AUTH=LOGIN gives me the indicated error, the others say that I can't send mail without authenticating.
What is the correct entry for M:?
The mail server I am talking to reports only that AUTH LOGIN is available.
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE 52428800
250-DSN
250-AUTH LOGIN
250-DELIVERBY
250 HELP
saslauthd is installed and running.
The following cyrus-sasl packages are installed:
cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-devel-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-ldap-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-gssapi-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-ntlm-2.1.23-15.el6_6.2.x86_64
cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64
Here are some relevant settings from my sendmail.mc file:
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 AUTH=LOGIN AUTH=client AUTH LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 AUTH=LOGIN AUTH=client AUTH LOGIN PLAIN')dnl
Should I be using FEATURE(authinfo) ? Maybe saslauthd needs that.
My questions are:
What is the correct entry for M: in my access file?
Do I need to use FEATURE(authinfo)?
Any other suggestions?