Re: [Dovecot] CR-LF handling (WAS: Problem in mbox-sync.c)

2007-10-27 Thread Timo Sirainen
On Tue, 2007-10-23 at 14:18 -0400, Gerard wrote: > > I've been thinking about this a little more since yesterday. Is there > > a reason why Dovecot shouldn't simply convert CR-LF line endings to LF > > on the fly, or at least have a configuration option you can turn on > > that will do this? Thi

Re: [Dovecot] CR-LF handling (WAS: Problem in mbox-sync.c)

2007-10-23 Thread Gerard
On Tuesday October 23, 2007 at 11:25:03 (AM) Hal Pomeranz wrote: > > > > >Oct 21 19:36:01 postoffice1 dovecot: POP3(someuser): file mbox- > > > > >sync.c: line 1433 (mbox_sync_handle_eof_updates): assertion failed: > > > > >(file_size >= sync_ctx->expunged_space + trailer_size) > > > > > > > >

Re: [Dovecot] CR-LF handling (WAS: Problem in mbox-sync.c)

2007-10-23 Thread Timo Sirainen
On 23.10.2007, at 18.25, Hal Pomeranz wrote: I've been thinking about this a little more since yesterday. Is there a reason why Dovecot shouldn't simply convert CR-LF line endings to LF on the fly, or at least have a configuration option you can turn on that will do this? This seems preferrabl

[Dovecot] CR-LF handling (WAS: Problem in mbox-sync.c)

2007-10-23 Thread Hal Pomeranz
> > > >Oct 21 19:36:01 postoffice1 dovecot: POP3(someuser): file mbox- > > > >sync.c: line 1433 (mbox_sync_handle_eof_updates): assertion failed: > > > >(file_size >= sync_ctx->expunged_space + trailer_size) > > > > > > Does the file have CRLFs as linefeeds instead of plain LFs? CRLF > > > ha