Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-09-24 Thread Timo Sirainen
On Mon, 2007-09-24 at 15:41 +0100, pod wrote: > > "TS" == Timo Sirainen <[EMAIL PROTECTED]> writes: > > >> Well, doing it only if it's the first header would make it > >> better. I guess I could do something like that since this is a > >> pretty common problem.. > > TS> http:/

Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-09-24 Thread pod
> "TS" == Timo Sirainen <[EMAIL PROTECTED]> writes: >> Well, doing it only if it's the first header would make it >> better. I guess I could do something like that since this is a >> pretty common problem.. TS> http://hg.dovecot.org/dovecot-1.0/rev/4c807839ac0c Hasn't create_

Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-09-22 Thread Timo Sirainen
On Tue, 2007-08-14 at 22:42 +0300, Timo Sirainen wrote: > On Tue, 2007-08-14 at 17:40 +0100, pod wrote: > > I'm attaching a patch that adds a save_header_callback() along the same > > lines as in mbox-save.c but I'm really not sure this is the right way to > > do it. > > Well, doing it only if it'

Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-08-14 Thread Timo Sirainen
On Tue, 2007-08-14 at 22:00 +0100, pod wrote: > > "TS" == Timo Sirainen <[EMAIL PROTECTED]> writes: > > TS> Well, doing it only if it's the first header would make it better. > > Sure, I considered that. I note though that the save_header_callback() > from mbox-save.c also does not make

Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-08-14 Thread pod
> "TS" == Timo Sirainen <[EMAIL PROTECTED]> writes: TS> Well, doing it only if it's the first header would make it better. Sure, I considered that. I note though that the save_header_callback() from mbox-save.c also does not make this distinction and will strip a "^From " anywhere in the

Re: [Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-08-14 Thread Timo Sirainen
On Tue, 2007-08-14 at 17:40 +0100, pod wrote: > I'm attaching a patch that adds a save_header_callback() along the same > lines as in mbox-save.c but I'm really not sure this is the right way to > do it. Well, doing it only if it's the first header would make it better. I guess I could do somethin

[Dovecot] deliver copies "^From " header lines when delivering to Maildir

2007-08-14 Thread pod
deliver appears to copy "^From " header lines from stdin when delivering to Maildir. The header filtering in mbox-save.c prevents this when delivering to an mbox and instead a synthesized "^From " header is written. This is an issue when using, for example, Postfix and mailbox_command = /usr/l