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. :)
signature.asc
Description: This is a digitally signed message part