Discussion:
[Dovecot] Connection closed by foreign host.
tubauwe
2007-03-13 21:14:52 UTC
Permalink
I installed dovecot on my system using the following configuration (in dovecot.conf):

protocols = imap
listen = *
ssl_disable = yes
login_user = nobody
login_processes_count = 3
mail_extra_groups = nobody

default_mail_env = maildir:/home/%u/Maildir

auth default {
mechanisms = plain
passdb shadow {
}
userdb passwd {
}
user = root
}

After that I tested via telnet an got the message:

Connection closed by foreign host.

In the log-file I found the following lines:

dovecot: Mar 12 22:49:18 Info: Dovecot v1.0.rc15 starting up
dovecot: Mar 12 22:51:12 Info: imap-login: Login: user=<username>, method=PLAIN, rip=192.168.??.20, lip=192.168.??.3
dovecot: Mar 12 22:51:12 Error: setmntent(/etc/mtab) failed: No such file or directory
dovecot: Mar 12 22:51:12 Error: child 616 (imap) killed with signal 11

Because I'm quite a newbie, I don't know what to do. Therefore I ask here for help.

Thank you!
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out
Timo Sirainen
2007-03-13 21:22:39 UTC
Permalink
BTW. dovecot -n is a better way to list the configuration.
Post by tubauwe
dovecot: Mar 12 22:51:12 Error: setmntent(/etc/mtab) failed: No such file or directory
What OS/distribution are you using? /etc/mtab is assumed to be found
with Linux. I think it should exist..

Adding nfs_check = no to dovecot.conf will probably fix this anyway.
Post by tubauwe
dovecot: Mar 12 22:51:12 Error: child 616 (imap) killed with signal 11
It still shouldn't crash though. Could you get gdb backtrace from it?
See http://dovecot.org/bugreport.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070313/3cba098e/attachment.pgp
Gerard
2007-03-13 21:50:56 UTC
Permalink
Post by tubauwe
Because I'm quite a newbie, I don't know what to do. Therefore I ask here for help.
OK, first just paste the output of:

dovecot -n

That will show what changes you have made from the basic config file.
Also include the portion of the mail log, or what ever log you are
writing to, that pertain to dovecot.. You also need to include your OS
type and version as well as the dovecot version.
--
Gerard
fabrizio
2007-03-16 14:21:13 UTC
Permalink
I'm getting the same. did you solve this out?
Timo Sirainen
2007-03-18 15:40:14 UTC
Permalink
Post by fabrizio
I'm getting the same. did you solve this out?
http://wiki.dovecot.org/WhyDoesItNotWork

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070318/3a400c86/attachment.pgp
Loading...