[Dovecot] pop3 timeout when sending first message
Timo Sirainen
tss at iki.fi
Tue May 27 10:11:48 EEST 2003
On Tue, 2003-05-27 at 05:03, Mike Brown wrote:
> You can examine the tcpdump output here (I edited out my password):
>
> http://skew.org/~mike/pop3-moz-tcpdump
> http://skew.org/~mike/pop3-oe6-tcpdump
>
> Is this helpful?
Well, I think you broke them while editing :) But I think it's because
your message doesn't end with line feed. Try this patch:
Index: commands.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.7
diff -u -r1.7 commands.c
--- commands.c 1 Feb 2003 11:44:40 -0000 1.7
+++ commands.c 27 May 2003 07:10:27 -0000
@@ -264,6 +264,11 @@
i_stream_skip(input, i);
}
+
+ if (last != '\n') {
+ /* didn't end with CRLF */
+ (void)o_stream_send(output, "\r\n", 2);
+ }
}
static void fetch(struct client *client, unsigned int msgnum,
More information about the dovecot
mailing list