Re: Athentication problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



> 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 

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux