[Dovecot] Problem with Postfix + Dovecot + MySQL + Squirrelmail
Dear friends,
I try configure a webmail on my server using Postfix + Dovecot + MySQL + Squirrelmail.
My system is a Debian6 and dovecot version is:
#dovecot --version 1.2.15
But, when I try to access an account on squirrel I recieve this message:
“ERROR Error connecting to IMAP server: localhost. 111 : Connection refused”
Looking for a problem I foud this:
#service dovecot start Starting IMAP/POP3 mail server: dovecotLast died with error (see error log for more information): Auth process died too early - shutting down If you have trouble with authentication failures, enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork This message goes away after the first successful login. .
And the status of doveco is:
#service dovecot status dovecot is not running ... failed!
The other services seems to be OK:
#service postfix status postfix is running.
# service mysql status /usr/bin/mysqladmin Ver 8.42 Distrib 5.1.49, for debian-linux-gnu on x86_64 Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license
Server version5.1.49-3 Protocol version10 ConnectionLocalhost via UNIX socket UNIX socket/var/run/mysqld/mysqld.sock Uptime:32 days 14 hours 23 min 39 sec
Threads: 1 Questions: 6743 Slow queries: 0 Opens: 385 Flush tables: 1 Open tables: 47 Queries per second avg: 0.2.
Looking at dovecot.conf I found some incosistences:
On dovecot.conf:
protocol lda { sendmail_path = /usr/lib/sendmail auth_socket_path = /var/run/dovecot/auth-master }
socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail group = mail } client { path = /var/run/dovecot/auth-client mode = 0660 user = vmail group = mail } }
But in the system I don1t found this files!!!
/var/run/dovecot# ls total 20K drwxr-xr-x 3 root root 4.0K Jan 27 11:35 . drwxr-xr-x 8 root root 4.0K Jan 27 09:33 .. srw------- 1 root root 0 Jan 27 11:35 auth-worker.26163 srwxrwxrwx 1 root root 0 Jan 27 11:35 dict-server lrwxrwxrwx 1 root root 25 Jan 27 11:35 dovecot.conf -> /etc/dovecot/dovecot.conf drwxr-x--- 2 root dovecot 4.0K Jan 27 11:35 login -rw------- 1 root root 43 Jan 27 11:35 master-fatal.lastlog -rw------- 1 root root 6 Jan 27 11:35 master.pid
/var/run/dovecot# ls login/ total 12K drwxr-x--- 2 root dovecot 4.0K Jan 27 11:35 . drwxr-xr-x 3 root root 4.0K Jan 27 11:35 .. srw-rw---- 1 root dovecot 0 Jan 27 11:35 default -rw-r--r-- 2 root root 230 Jan 23 19:12 ssl-parameters.dat
I think maybe that is the problem. Anyone knows how I fix that? Or what is the real problem?
Thanks for any help! -- Gustavo
On 27.1.2012, at 14.32, Gustavo wrote:
#service dovecot start Starting IMAP/POP3 mail server: dovecotLast died with error (see error log for more information): Auth process died too early - shutting down
No need to keep guessing the problem. "See error log for more information" like it says. http://wiki.dovecot.org/Logging
participants (2)
-
Gustavo
-
Timo Sirainen