On Thu, Jan 05, 2012 at 04:46:08PM -0800, Quanah Gibson-Mount wrote:
> Thus my question as to whether or 
> not anyone has gotten 2.1.25 to work with Postfix at all.  If someone can 
> confirm they have SMTP auth working with a Cyrus-SASL 2.1.25 linked 
> Postfix, then it gives me other avenues to examine.

$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 london0.caf.com.tr ESMTP Postfix
ehlo localhost
250-london0.caf.com.tr
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN <BASE64_HASH>
235 2.7.0 Authentication successful
quit
221 2.0.0 Bye
Connection closed by foreign host.

# saslauthd -v
saslauthd 2.1.25
authentication mechanisms: sasldb getpwent pam rimap shadow

# postconf mail_version
mail_version = 2.8.7

Tested with ldap as well.  Also no problem.

FWIW, here is with cyrus-imap:

# imtest -a eras localhost
S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE STARTTLS AUTH=PLAIN
AUTH=LOGIN
SASL-IR] london0.caf.com.tr Cyrus IMAP v2.4.12 server ready
Please enter your password: 
C: A01 AUTHENTICATE PLAIN <BASE64_HASH>
S: A01 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN
MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ
SORT=DISPLAY
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED
WITHIN
QRESYNC SCAN XLIST URLAUTH URLAUTH=BINARY X-NETSCAPE LOGINDISABLED
COMPRESS=DEFLATE IDLE] Success (no protection)
Authenticated.
Security strength factor: 0
a logout
* BYE LOGOUT received
a OK Completed
Connection closed.


There are reports of broken PLAIN and LOGIN mechs with cyrus-sasl
2.1.25.  But I can't reproduce it.

-- 
Eray Aslan

Reply via email to