Athentication problem

Dan White dwhite at olp.net
Wed Jul 16 00:32:09 EDT 2008


Stephen,

What does your Postfix SASL configuration look like?

Do you explicitly want to support specific SASL mechanisms 
(PLAIN, DIGEST-MD5...)?

Do you intend to authenticate users like you're currently 
authenticating them with cyrus pop3? If so, what do your sasl_* 
config options look like in /etc/imapd.conf?

- Dan

Stephen Liu wrote:
> Hi folks,
> 
> 
> Ubuntu LAMP 6.06 amd64, headless
> Postfix
> cyrus-admin-2.2
> cyrus-clients-2.2
> cyrus-common-2.2
> cyrus-imapd-2.2
> cyrus-pop3d-2.2
> libcyrus-imap-perl22
> libsasl2
> MySQL
> SquirrelMail
> 
> 
> I have been fighting several days on following problem.
> 
> 
> The LAMP server is working.  Users can send/receive mails on
> SquirrelMail. Also running "telnet localhost 25" on Xterm mails can be
> sent to/received by outside world.  However users can't send mail via
> the server on their mail client, Evolution.  
> 
> 
> Always complaining;
> Unable to authenticate to SMTP server.
> Bad authentication response from server.
> 
> Please enter the SMTP password for user_aaa on host domain.com
> * end *
> 
> 
> 
> On the server Xterm
> 
> 
> $ tail /var/log/mail.log
> Jul 16 10:00:54 satimis cyrus/ctl_cyrusdb[3848]: done checkpointing
> cyrus databases
> Jul 16 10:00:54 satimis cyrus/master[3841]: process 3848 exited, status
> 0
> Jul 16 10:00:59 satimis postfix/master[4131]: daemon started -- version
> 2.2.10, configuration /etc/postfix
> Jul 16 10:03:01 satimis postfix/smtpd[4406]: connect from
> unknown[220.232.213.178]
> Jul 16 10:03:20 satimis postfix/smtpd[4406]: warning: SASL
> authentication problem: unable to open Berkeley db /etc/sasldb2: No
> such file or directory
> Jul 16 10:03:20 satimis postfix/smtpd[4406]: warning: SASL
> authentication problem: unable to open Berkeley db /etc/sasldb2: No
> such file or directory
> Jul 16 10:03:20 satimis postfix/smtpd[4406]: warning: SASL
> authentication failure: Password verification failed
> Jul 16 10:03:20 satimis postfix/smtpd[4406]: warning:
> unknown[220.232.213.178]: SASL PLAIN authentication failed
> Jul 16 10:08:20 satimis postfix/smtpd[4406]: timeout after AUTH from
> unknown[220.232.213.178]
> Jul 16 10:08:20 satimis postfix/smtpd[4406]: disconnect from
> unknown[220.232.213.178]
> * end *
> 
> 
> $ tail /var/log/mail.err
> Jul 12 14:21:48 satimis last message repeated 3 times
> Jul 13 16:40:55 satimis cyrus/pop3[4628]: refused connection from
> 220.232.213.178
> Jul 13 16:41:20 satimis last message repeated 4 times
> Jul 13 16:41:46 satimis last message repeated 4 times
> Jul 13 16:55:32 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> Jul 13 16:57:05 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> Jul 13 16:57:23 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> Jul 13 16:58:46 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> Jul 13 16:59:52 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> Jul 13 17:00:40 satimis cyrus/pop3[4420]: refused connection from
> 220.232.213.178
> * end *
> 
> 
> But users can receive mails on their mail client, Evolution, with the
> same password.  I suspect it is an authentication problem.
> 
> 
> Please help.  TIA
> 
> 
> B.R.
> Stephen L
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 



More information about the Cyrus-sasl mailing list