Cant log into the cyrus pop3 mail server.

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
soulwatcher
Posts: 7
Joined: 2005/03/08 05:52:15
Contact:

Cant log into the cyrus pop3 mail server.

Post by soulwatcher » 2005/03/18 01:55:33

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?

devil
Posts: 42
Joined: 2005/02/08 15:41:01
Location: Bangalore

Cant log into the cyrus pop3 mail server.

Post by devil » 2005/03/18 14:36:57

what is the auth mechanism u have configured, in /etc/sysconfig/saslauth ??????????

plmcmahon
Posts: 12
Joined: 2005/03/05 21:04:02
Location: San Francisco, California, USA
Contact:

Re: Cant log into the cyrus pop3 mail server.

Post by plmcmahon » 2005/03/18 17:06:01

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.

Post Reply

Return to “CentOS 4 - Server Support”