[Dovecot] Dovecot crashes with malformed Qpopper's mbox

Timo Sirainen tss at iki.fi
Sat May 26 18:34:25 EEST 2007


On Fri, 2007-05-25 at 22:09 +0900, MAEDA, Go wrote:
>    At first, I have modified istream-raw-mbox.c and now my Dovecot stops 
> mistaking the secound "From " line for a message separator.
> 
>    But RETRed message contains unnecessary (may be harmful for some pop3 
> clients) "From " line.
..
>    I have thought that save_header_callback() in mbox-save.c should drop 
> the "From " line but it still left in the message.

That's only when saving the message. If you want to filter it when
reading the mailbox, you'll have to add a similar callback to
mbox-mail.c:mbox_mail_get_stream().

> plain text document attachment (patch.txt)

And could you please use diff -u format when sending patches. The
default format is horrible to read. :)

-------------- 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/20070526/3bb01ee9/attachment.bin 


More information about the dovecot mailing list