[Dovecot] pop3 timeout when sending first message
    Mike Brown 
    mike at skew.org
       
    Tue May 27 02:22:11 EEST 2003
    
    
  
Timo Sirainen wrote:
> 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,
That worked! The problem is solved!
Thanks!!
-Mike
    
    
More information about the dovecot
mailing list