Sendmail+sasl2+smtpauth didn't work?

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Sep 14 20:29:16 UTC 2004


Am Mo, den 13.09.2004 schrieb Alexander Dalloz um 3:06:

> "AUTH failure (LOGIN): no mechanism available (-4) SASL(-4): no
> mechanism available: checkpass failed"

You must lack something.

I have to correct myself for the following:

> I feel that is nothing cryptic (like error messages on Win32 commonly
> are). It is SASL saying "no mechanism available". 
> The short form:
> - with pwcheck_method:auxprop you can do DIGEST-MD5, CRAM-MD5 and PLAIN

LOGIN is possible too. You need a proof?

$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 bartleby.dogma.lan ESMTP Sendmail 8.13.1/8.13.1; Tue, 14 Sep 2004
22:56:30 +0200
ehlo localhost
250-bartleby.dogma.lan Hello localhost.localdomain [127.0.0.1], pleased
to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-DELIVERBY
250 HELP
AUTH LOGIN
334 VXNlcm5hbWU6
bG9raUBkb2dtYS5sYW4=
334 UGFzc3dvcmQ6
dGVzdA==
235 2.0.0 OK Authenticated
quit
221 2.0.0 bartleby.dogma.lan closing connection
Connection closed by foreign host.

I first was tricked because nowhere in documentation I found that it is
needed to escape the @ in user at realm in the form user\@realm. So with
the properly base64 encoded strings LOGIN auth successes, using auxprop
and sasldb2.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 22:19:40 up 15 days, 19:36, load average: 0.91, 0.62, 0.59 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040914/1bb529f0/attachment-0002.bin 


More information about the users mailing list