I really won't comment on the rest of this email, the only portion I'm
going to touch on is /etc/sasldb2 no such file or directory.
If nothing else you should 'saslpasswd2 -c cyrus' and then ensure that
the file is readable by both cyrus and postfix (both should be in the
group mail, and be owned by cyrus:mail) like,
-rw-r----- 1 cyrus mail 12562 2008-07-09 17:01 sasldb2
Now postfix shouldn't atleast barf like a little kid.
On Jul 15, 2008, at 7:53 PM, 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
!DSPAM:487d66a383281263019146!