Athentication problem (RESEND)

Stephen Liu satimis at yahoo.com
Wed Jul 16 12:38:18 EDT 2008


Hi Dan,


Thanks for your advice.


> What does your Postfix SASL configuration look like?


$ grep sasl /etc/postfix/main.cf
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination



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


Sorry I don't follow.  Please explain in more detail.  Thanks


> Do you intend to authenticate users like you're currently 
> authenticating them with cyrus pop3? 


I don't stick on the method of authentication.  But I do expect that
the authentication will be same on all mail application.


> If so, what do your sasl_* 
> config options look like in /etc/imapd.conf?


$ grep sasl_* /etc/imapd.conf
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sasl_auto_transition: no
sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


Thanks


B.R.
Stephen L


Remark:

Something strange happened on the server of
cyrus-sasl at lists.andrew.cmu.edu


My reply mail sent to you previously has been rejected by;

Delivery has failed to these recipients or distribution lists:

Delivery has failed to these recipients or distribution lists:

7orinne.podeur at crous-montpellier.com
The recipient's e-mail address was not found in the recipient's e-mail
system. Microsoft Exchange will not try to redeliver this message for
you. Please check the e-mail address and try resending this message, or
provide the following diagnostic text to your system administrator.
Sent by Microsoft Exchange Server 2007

Diagnostic information for administrators:

Generating server: crous34.fr


Therefore I have to resend my reply mail to your private address and cc
cyrus-sasl at lists.andrew.cmu.edu.  Sorry to that




> 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 
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the Cyrus-sasl mailing list