Problems with SMTP AUTH using sendmail
Hi,
I'm using Debian R3.0 with
ii sendmail 8.12.3-4
ii libsasl7 1.5.27-3
trying to connect my provider Puretec (1&1) Germany via SMTP AUTH.
To configure sendmail for this I put following in /etc/mail/sendmail.mc:
FEATURE(`authinfo')dnl
TRUST_AUTH_MECH(`PLAIN LOGIN')
define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`SMART_HOST', `smtp:auth.smtp.puretec.de')dnl
Generating /etc/mail/sendmail.cf with:
m4 /usr/share/sendmail/cf/m4/cf.m4 /etc/mail/sendmail.mc
> /etc/mail/sendmail.cf
My /etc/mail/authinfo file contains one singel line with:
AuthInfo:auth.smtp.puretec.de "U:myusernameatprovider"
"I:myusernameatprovider" "P:mypasswordatprovider" "M:PLAIN"
Generating /etc/mail/authinfo.db with:
makemap -d hash /etc/mail/authinfo.db < /etc/mail/authinfo
If connecting the SMTP Server with telnet and initiating the connetion
with EHLO one gets:
250-mrelayng.kundenserver.de.Hello.spock.home.[62.155.192.143].
250-SIZE 20971520
250-PIPELINING
250-AUTH=PLAIN LOGIN
250-AUTH PLAIN LOGIN
250 HELP
.
If I connect now to my provider and send a mail, so sendmail
is running, I have the following in the logfile:
sendmail[5180]: AUTH=client, available mechanisms do not fulfill requirements
sendmail[5180]: AUTH=client, relay=auth.smtp.puretec.de, temporary failure, connection abort
sendmail[5180]: to=<stefan.hahn@s-hahn.de>, delay=00:24:02, xdelay=00:00:01, mailer=smtp,
pri=282 0410, relay=auth.smtp.puretec.de [212.227.126.162],
dsn=4.0.0, stat=Deferred: Temporary AUTH failure
Tracing that situation with tcpdump I saw that my sendmail ist connecting
to the smtp server via EHLO and after getting the above list is quitting
the connection direct after without trying to authenticate.
Has anybody any idea whats going wrong? I read all the documents which
comes with sendmail-doc, but I havn't any idea.
--
Stefan-W. Hahn / mailto:stefan.hahn@s-hahn.de /
Reply to: