Can't log on to Cyrus POP3
Michuki Mwangi
michuki at swiftkenya.com
Fri Mar 25 12:06:53 EST 2005
Hello,
I have been working on installing Postfix,Cyrus, Myqsl, SquirrelMail and
Web-cyradm on FreeBSD 5.3
I can manage to sendmail to the users created in Mysql and Cyrus through
postfix and also check the mail using IMAP via Kmail and Squirrelmail.
However whenever i try to pick mail from the same setup via POP3 i get
the following error in TLS
Mar 25 19:38:54 mail pop3[768]: badlogin: [x.x.x.x] plaintext info
SASL(-13): authentication failure: checkpass failed
Mar 25 19:39:15 mail pop3[768]: starttls: TLSv1 with cipher RC4-MD5
(128/128 bits new) no authentication
Mar 25 19:39:15 mail pop3[768]: Password verification failed
Mar 25 19:39:18 mail pop3[768]: badlogin: [x.x.x.x] PLAIN authentication
failure
The same applies for non TLS connection.
pop3[805]: badlogin: [x.x.x.x] plaintext info SASL(-13): authentication
failure: checkpass failed
Mar 25 19:53:22 mail pop3[800]: badlogin: [x.x.x.x] PLAIN authentication
failure
I get the following in /var/log/auth.log
Mar 25 19:56:42 mail saslauthd[550]: do_auth : auth failure:
[user=info] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Please note am using the same username and password for both IMAP and
POP. Please advice as to where i am going wrong.
The passwords in Mysql are encrypted using the Mysql ENCRYPT command.
I copied my /etc/pam.d/imap to pop3 since imap is working.
and looks as follows
#
# $FreeBSD: src/etc/pam.d/imap,v 1.5 2003/03/08 09:50:11 markm Exp $
#
# PAM configuration for the "imap" service
#
# auth
#auth required pam_nologin.so no_warn
#auth sufficient pam_krb5.so no_warn
try_first_pass
#auth sufficient pam_ssh.so no_warn
try_first_pass
#auth required pam_unix.so no_warn
try_first_pass
auth sufficient pam_mysql.so user=***** passwd=**** host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password
crypt=2
account required pam_mysql.so user=***** passwd=**** host=localhost
db=mail table=accountuser usercolumn=username passwdcolumn=password
crypt=2
and in imapd.conf i have the following enabled
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
Any pointers will be highly appreciated.
PS: the users are manually added since am having trouble getting
web-cyradm to work. But thats another issue all together.
Regards,
Michuki
---
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
More information about the Info-cyrus
mailing list