[Dovecot] Can't run POP3 and IMAP simultaneously from xinetd...
Timo Sirainen
tss at iki.fi
Sun Jun 11 17:59:48 EEST 2006
On Fri, 2006-06-09 at 11:01 -0400, Timothy Meader wrote:
> My issue is that, when running both from xinetd, IMAP runs fine, but
> then, when you try to POP in to check mail on the same box, it seems
> that the login section is handled via pop3-login...
Yes, others have noticed that before too, but I hadn't had time to look
at it. Now that I did, it was a simple fix :)
Index: src/master/login-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.73
diff -u -r1.73 login-process.c
--- src/master/login-process.c 14 Apr 2006 18:20:57 -0000 1.73
+++ src/master/login-process.c 11 Jun 2006 14:58:47 -0000
@@ -207,7 +207,7 @@
if (strcmp(proto, "imap") == 0)
protocol = MAIL_PROTOCOL_IMAP;
else if (strcmp(proto, "pop3") == 0)
- protocol = MAIL_PROTOCOL_IMAP;
+ protocol = MAIL_PROTOCOL_POP3;
else {
i_error("login: Unknown protocol '%s'", proto);
return FALSE;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060611/4aaeca0c/attachment.pgp
More information about the dovecot
mailing list