HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   ERROR: Connection dropped by IMAP server. (http://www.howtoforge.com/forums/showthread.php?t=61328)

wlee1970 7th April 2013 02:22

ERROR: Connection dropped by IMAP server.
 
Hi all, have an issue, going to show my mail.log
Quote:

tail -n 15 /var/log/mail.log
Apr 6 20:10:03 fever dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 6 20:10:08 fever dovecot: master: Dovecot v2.0.19 starting up (core dumps disabled)
Apr 6 20:10:16 fever dovecot: imap-login: Login: user=<cid>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32473, secured
Apr 6 20:10:16 fever dovecot: imap(cid): Error: user cid: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/cid
Apr 6 20:10:16 fever dovecot: imap(cid): Error: Invalid user settings. Refer to server log for more information.
Apr 6 20:11:06 fever dovecot: imap-login: Login: user=<cid>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32475, secured
Apr 6 20:11:06 fever dovecot: imap(cid): Error: user cid: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/cid
Apr 6 20:11:06 fever dovecot: imap(cid): Error: Invalid user settings. Refer to server log for more information.
Apr 6 20:11:28 fever postfix/smtps/smtpd[32480]: connect from localhost.localdomain[127.0.0.1]
Apr 6 20:11:54 fever dovecot: imap-login: Login: user=<cid>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32486, secured
Apr 6 20:11:54 fever dovecot: imap(cid): Error: user cid: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/cid
Apr 6 20:11:54 fever dovecot: imap(cid): Error: Invalid user settings. Refer to server log for more information.
Apr 6 20:16:28 fever postfix/smtps/smtpd[32480]: SSL_accept error from localhost.localdomain[127.0.0.1]: Connection timed out
Apr 6 20:16:28 fever postfix/smtps/smtpd[32480]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Apr 6 20:16:28 fever postfix/smtps/smtpd[32480]: disconnect from localhost.localdomain[127.0.0.1]
I see an error about mail location and if so what can i do to fix it?

thanks
wlee1970

wlee1970 7th April 2013 03:14

Now i am getting this error on squirrelmail
 
what is going on here?

Quote:

Apr 6 21:11:59 fever dovecot: auth: Fatal: Unknown database driver 'mysql'
Apr 6 21:11:59 fever dovecot: master: Error: service(auth): command startup failed, throttling
Apr 6 21:12:25 fever postfix/smtpd[3482]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
Apr 6 21:12:25 fever postfix/smtpd[3482]: connect from mail-we0-f175.google.com[74.125.82.175]
Apr 6 21:12:34 fever dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=3384, input bytes=0
Apr 6 21:12:35 fever postfix/smtpd[3482]: fatal: no SASL authentication mechanisms
Apr 6 21:12:36 fever postfix/master[2868]: warning: process /usr/lib/postfix/smtpd pid 3482 exit status 1
Apr 6 21:12:36 fever postfix/master[2868]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 6 21:12:45 fever postfix/master[2868]: terminating on signal 15
Apr 6 21:12:47 fever postfix/master[3616]: daemon started -- version 2.9.6, configuration /etc/postfix
Apr 6 21:12:59 fever dovecot: auth: Fatal: Unknown database driver 'mysql'
Apr 6 21:12:59 fever dovecot: master: Error: service(auth): command startup failed, throttling
Apr 6 21:13:01 fever dovecot: pop3-login: Disconnected: Inactivity (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Apr 6 21:13:29 fever dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=3621, input bytes=0
Apr 6 21:13:59 fever dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=3621, input bytes=0
Apr 6 21:13:59 fever dovecot: auth: Fatal: Unknown database driver 'mysql'
Apr 6 21:13:59 fever dovecot: master: Error: service(auth): command startup failed, throttling
Apr 6 21:14:23 fever dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Apr 6 21:14:59 fever dovecot: auth: Fatal: Unknown database driver 'mysql'
Apr 6 21:14:59 fever dovecot: master: Error: service(auth): command startup failed, throttling

wlee1970 8th April 2013 03:13

Fixed it
 
I used Ubuntu guides to fix dovecot imap.

thanks

Jebakumar 12th January 2014 15:04

Hi Weelee,

Can you post of the link of the ubuntu dovecot guide??

till 12th January 2014 15:22

Accoding to the logs, the issu was most likely a missing dovecot-mysql package.

All our ubuntu guides are with dovecot, so I guess he used one of the guides listed here for the different ubuntu versions:

http://www.ispconfig.org/page/en/documentation.html


All times are GMT +2. The time now is 16:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.