sendmail and smtp auth

Alexander Newald alexander at newald.de
Wed Jul 9 09:24:48 PDT 2003


Hello,

I tried to install the latest sendmail with smtp auth but I can't auth
against the smtp server (Using the only mail client I have - ms outlook
express). Here is what I have done:

cyrus (2.1.14):

Code:
./configure                     \
        --prefix=/usr           \
        --enable-login          \
        --enable-plain          \
        --enable-ntlm           \
        --with-openssl=/usr


/usr/lib/sasl2/Sendmail.conf
Code:
pwcheck_method: shadow

sendmail (8.12.9):

Code:
cat > devtools/Site/site.config.m4 << "EOF"
define(`confMANGRP',`root')
define(`confMANOWN',`root')
define(`confSBINGRP',`root')
define(`confUBINGRP',`root')
define(`confUBINOWN',`root')
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')
APPENDDEF(`confLIBDIRS', `-L/usr/lib/sasl2')
APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')
EOF

cd sendmail
sh Build
cd ../cf/cf
cp generic-linux.mc sendmail.mc
mkdir -p /etc/mail
sh Build sendmail.mc
sh Build install-cf
cd ../../
sh Build install


I added to linux.m4

Code:
TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5')dnl
define(`confAUTH_MECHANISMS', `PLAIN LOGIN DIGEST-MD5')dnl


Sendmail debug log shows me

Code:
32489 >>> 220 linux.teddy ESMTP Sendmail 8.12.9/SQL-8.12.9-18/8.12.9/8.12.9;
Wed, 9 Jul 2003 03:17:30 +0200
32489 <<< EHLO alex
32489 >>> 250-linux.teddy Hello alex.teddy [192.168.1.111], pleased to meet
you
32489 >>> 250-ENHANCEDSTATUSCODES
32489 >>> 250-PIPELINING
32489 >>> 250-8BITMIME
32489 >>> 250-SIZE 52428800
32489 >>> 250-DSN
32489 >>> 250-ETRN
32489 >>> 250-AUTH PLAIN LOGIN DIGEST-MD5
32489 >>> 250-DELIVERBY
32489 >>> 250 HELP
32489 <<< AUTH LOGIN
32489 >>> 334 VXNlcm5hbWU6
32489 <<< YWRtaW4=
32489 >>> 334 UGFzc3dvcmQ6
32489 <<< MEIN_PWD_ALS_base64
32489 >>> 535 5.7.0 authentication failed
32489 <<< [EOF]
32489 >>> 421 4.4.1 linux.teddy Lost input channel from alex.teddy
[192.168.1.111]


==> var/log/ALL_DAILY <==
Jul  9 03:17:30 linux sendmail[32489]: unknown password verifier

==> var/log/mail <==
Jul  9 03:17:30 linux sendmail[32489]: AUTH: available mech=LOGIN ANONYMOUS
PLAIN OTP DIGEST-MD5 CRAM-MD5, allowed mech=PLAIN LOGIN DIGEST-MD5
Jul  9 03:17:30 linux sendmail[32489]: h691HUcU032489: Milter: no active
filter
Jul  9 03:17:30 linux sendmail[32489]: h691HUcU032489: AUTH failure (LOGIN):
no mechanism available (-4) SASL(-4): no mechanism available: checkpass
failed
Jul  9 03:17:30 linux sendmail[32489]: h691HUcU032489: alex.teddy
[192.168.1.111] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA


Any hints?

Thanks,
Alexander Newald



-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list