Page 1 of 1

Cant log into the cyrus pop3 mail server.

Posted: 2005/03/18 01:55:33
by soulwatcher
I can not log into the cyrus mail server I keep getting this error. I am useing Centos 4.0 and sendmail.

Mar 17 04:59:53 salorahosting pop3[26890]: accepted connection
Mar 17 04:59:53 salorahosting master[26893]: about to exec /usr/lib/cyrus-imapd/pop3d
Mar 17 04:59:53 salorahosting pop3[26893]: executed
Mar 17 04:59:53 salorahosting pop3[26890]: badlogin: [192.168.1.1] plaintext *************** invalid user
Mar 17 04:59:53 salorahosting master[2103]: process 26890 exited, status 0


Mar 17 05:08:10 salorahosting pop3[26892]: accepted connection
Mar 17 05:08:10 salorahosting master[27346]: about to exec /usr/lib/cyrus-imapd/pop3d
Mar 17 05:08:10 salorahosting pop3[27346]: executed
Mar 17 05:08:10 salorahosting pop3[26892]: badlogin: [192.168.1.1] plaintext ******* SASL(-1): generic failure: checkpass failed
Mar 17 05:08:13 salorahosting master[2103]: process 26892 exited, status 0

Anyone have any Ideas on whats causing this?

Cant log into the cyrus pop3 mail server.

Posted: 2005/03/18 14:36:57
by devil
what is the auth mechanism u have configured, in /etc/sysconfig/saslauth ??????????

Re: Cant log into the cyrus pop3 mail server.

Posted: 2005/03/18 17:06:01
by plmcmahon
I haven't used the Cyrus POP services, but I assume they are configured through /etc/imapd.conf just like the IMAP services.

In /etc/imapd.conf you will want to check the following entry:

sasl_pwcheck_method: saslauthd

If this is set to saslauthd, then you need that service running or authentication will fail:

service saslauthd start

You can set it to start on boot too:

chkconfig --level 345 saslauthd on

Note that a default install of CentOS (and the cyrus-sasl package) leaves this service disabled.

I just tested this on my Cyrus IMAP system, and when I stop the saslauthd service, I get the following error when I try to login:

"imap[3779]: badlogin: [10.0.0.1] plaintext username SASL(-1): generic failure: checkpass failed"

The invalid user error may be because you have to create the mailbox with cyradm.