I am new to cyrus and have been reading many webpages that contain walk-throughs, examples, etc and have run into a wall with trying to figure out how I am to get cyrus to properly authenticate a user.
Installation of Cyrus IMAP4 v2.2.3 on RedHat 9.
/etc/imapd.conf (pretty much a copy of an example page)
postmaster: postmaster configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus root allowanonymouslogin: no allowplaintext: yes sasl_mech_list: PLAIN login shadow pam servername: servername autocreatequota: 10000 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sievedir: /usr/sieve sendmail: /usr/sbin/sendmail sieve_maxscriptsize: 32 sieve_maxscripts: 5 #unixhierarchysep: yes
I created the user 'cyrus'
# saslpasswd2 -c -u some-domain.com -a cyrus-imapd cyrus
# sasldblistusers2 [EMAIL PROTECTED]: userPassword
cyrus-auth.log
Feb 23 10:05:08 some-domain-www saslauthd[9277]: Caught signal 15. Cleaning up and terminating. Feb 23 10:05:29 some-domain-www saslauthd[9491]: START: saslauthd 2.1.10 Feb 23 10:05:29 some-domain-www saslauthd[9496]: master PID is: 9496 Feb 23 10:05:29 some-domain-www saslauthd[9496]: daemon started, listening on /var/run/saslauthd/mux Feb 23 10:06:17 some-domain-www saslauthd[9498]: null login/password received Feb 23 10:06:17 some-domain-www saslauthd[9498]: AUTHFAIL: user=cyrus service=imap realm= [Null login/password (saslauthd)] Feb 23 10:07:48 some-domain-www saslauthd[9498]: AUTHFAIL: [EMAIL PROTECTED] service=imap realm
FYI, Port 993 is what cyrus is running on, just not using SSL at the moment.
# imtest -p 993 -a [EMAIL PROTECTED] localhost
S: * OK servername Cyrus IMAP4 v2.2.3 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
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN [EMAIL PROTECTED] {4}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0
* BAD Invalid tag
Where should I begin looking to try to resolve this issue?
Thanks,
-Robby
-- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com [EMAIL PROTECTED] | Telephone: (503) 222.2783 --- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html