cyrus-imap + cyrus-sasl : "user not found"
Corey
corey_s at qwest.net
Tue May 15 01:22:20 EDT 2007
Hello - I subscribed here because I'm having a heck of a time with something
I would imagine should be pretty easy: namely, I want to cyrus-imap with the
saslpasswd. But I after a few hours and much reading and trial-and-error, I've
had no success.
I'm on gentoo linux, using cyrus-sasl-2.1.22 and cyrus-imapd-2.2.12:
mybox ~ # saslpasswd2 -a smtpauth cyrus
mybox ~ # sasldblistusers2
cyrus at mybox: userPassword
mybox ~ # cyradm --user cyrus localhost
IMAP Password:
localhost>
log output shows:
May 15 13:04:22 mybox imap[8862]: accepted connection
May 15 13:04:22 mybox perl: No worthy mechs found
May 15 13:04:23 mybox imap[8862]: login: localhost [127.0.0.1] cyrus plaintext
User logged in
First question: why the "No worthy mechs found"?
mybox ~ # imtest -u cyrus localhost -t ""
S: * OK mybox Cyrus IMAP4 v2.2.12-Gentoo server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS LISTEXT
LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
C: S01 STARTTLS
S: S01 OK Begin TLS negotiation now
verify error:num=18:self signed certificate
verify error:num=7:certificate signature failure
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE
UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE AUTH=PLAIN SASL-IR
LISTEXT LIST-SUBSCRIBED X-NETSCAPE
S: C01 OK Completed
Please enter your password:
C: A01 AUTHENTICATE PLAIN Y3lydXMAcm9vdABjeXJ1cw==
S: A01 NO user not found
Authentication failed. generic failure
Security strength factor: 256
log output shows:
May 15 13:06:16 mybox imap[8862]: accepted connection
May 15 13:06:16 mybox imap[8862]: starttls: TLSv1 with cipher AES256-SHA
(256/256 bits new) no authentication
May 15 13:06:20 mybox imap[8862]: badlogin: localhost [127.0.0.1] PLAIN
[SASL(-13): user not found: Password verification failed]
Second question: why am I getting "user not found"?
Here's my imap.conf:
postmaster: postmaster
sendmail: /usr/sbin/sendmail
altnamespace: yes
unixhierarchysep: yes
configdirectory: /var/imap
partition-default: /var/spool/imap
tls_ca_path: /etc/ssl/certs
tls_cert_file: /etc/ssl/cyrus/server.crt
tls_key_file: /etc/ssl/cyrus/server.key
hashimapspool: yes
allowanonymouslogin: no
allowplaintext: yes
sasl_pwcheck_method: auxprop
sasl_mech_list: PLAIN
More information about the Info-cyrus
mailing list