Problems with SMTP AUTH using sendmail
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:
define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl
Generating /etc/mail/sendmail.cf with:
m4 /usr/share/sendmail/cf/m4/cf.m4 /etc/mail/sendmail.mc
My /etc/mail/authinfo file contains one singel line with:
"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-AUTH PLAIN LOGIN
If I connect now to my provider and send a mail, so sendmail
is running, I have the following in the logfile:
sendmail: AUTH=client, available mechanisms do not fulfill requirements
sendmail: AUTH=client, relay=auth.smtp.puretec.de, temporary failure, connection abort
sendmail: to=<email@example.com>, delay=00:24:02, xdelay=00:00:01, mailer=smtp,
pri=282 0410, relay=auth.smtp.puretec.de [126.96.36.199],
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:firstname.lastname@example.org /