Sam schrieb:
Its test script shown as below:
# su cyrus
%imtest -m login -p imap localhost
S: * OK newranger Cyrus IMAP4 v2.3.1 server ready
That is an early release of the still BETA 2.3 tree. It has security
issues and other weaknesses. Use 2.3.7 if you want to run the BETA release.
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL RIGHTS=kxte QUOTA LITERAL+
MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT
CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT
THREAD=REFERENCES ANNOTATEMORE CATENATE IDLE STARTTLS AUTH=DIGEST-MD5
AUTH=CRAM-MD5 SASL-IR URLAUTH
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN cyrus {6}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: user not found
Authentication failed. generic failure
Security strength factor: 0
^CC: Q01 LOGOUT
Connection closed.
the sasldb2.db file is already have user name cyrus added.
sasldblistusers2 will tell you that users have the form: username@realm,
where realm is by default the hostname, i.e. cyrus@xxxxxxxxxxxxxxxx
Thanks
Sam
Alexander
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html