Re: [Dovecot] dovecot 1.1.5 mbox bug (From_-line separator related)

2008-10-30 Thread Anton Yuzhaninov

On 30.10.2008 01:01, Timo Sirainen wrote:

On Wed, 2008-10-29 at 23:31 +0300, Anton Yuzhaninov wrote:

On 29.10.2008 21:24, Timo Sirainen wrote:

On Wed, 2008-10-29 at 20:23 +0300, Anton Yuzhaninov wrote:

If I send mail with content like this:

 From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

..

So a message whose body begins with From  line? Fixed:
http://hg.dovecot.org/dovecot-1.1/rev/9c3fa81a721d


This patch help only when message begins with From  line, but
bug still exits if message begins with empty line, then From  line.


This should fix both: http://hg.dovecot.org/dovecot-1.1/rev/c89c9d0bc877



Thanks, I can confirm, that this path fixes bug.

--
WBR,
 Anton Yuzhaninov


[Dovecot] dovecot 1.1.5 mbox bug (From_-line separator related)

2008-10-29 Thread Anton Yuzhaninov

If I send mail with content like this:

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

and instead single messages created many messages.

Inside mbox file it looks like

real_message_headers
Status: O
X-Keywords:
Content-Length: 2859
X-UID: 1471

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008
X-UID: 1472
Status: O

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008
X-UID: 1473
Status: O

From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008
X-UID: 1474
Status: O

Yes, Content-Length headers present, but:
1. Why X-UID: and Status: headers inserted into message body?
2. Why IMAP client (thunderbird) show many empty messages instead single 
message?

Mbox related settings from dovecot -n is only:
mmap_disable: yes
mbox_write_locks: fcntl
mbox_min_index_size: 1024

To store messages used dovecot deliver.

--
WBR,
 Anton Yuzhaninov


Re: [Dovecot] dovecot 1.1.5 mbox bug (From_-line separator related)

2008-10-29 Thread Anton Yuzhaninov

On 29.10.2008 21:24, Timo Sirainen wrote:

On Wed, 2008-10-29 at 20:23 +0300, Anton Yuzhaninov wrote:

If I send mail with content like this:

 From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008

..

So a message whose body begins with From  line? Fixed:
http://hg.dovecot.org/dovecot-1.1/rev/9c3fa81a721d



This patch help only when message begins with From  line, but
bug still exits if message begins with empty line, then From  line.

--
WBR,
 Anton Yuzhaninov


Re: [Dovecot] dovecot 1.1.5 mbox bug (From_-line separator related)

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 23:31 +0300, Anton Yuzhaninov wrote:
 On 29.10.2008 21:24, Timo Sirainen wrote:
  On Wed, 2008-10-29 at 20:23 +0300, Anton Yuzhaninov wrote:
  If I send mail with content like this:
 
   From [EMAIL PROTECTED] Wed Jan 09 01:33:55 2008
  ..
  
  So a message whose body begins with From  line? Fixed:
  http://hg.dovecot.org/dovecot-1.1/rev/9c3fa81a721d
  
 
 This patch help only when message begins with From  line, but
 bug still exits if message begins with empty line, then From  line.

This should fix both: http://hg.dovecot.org/dovecot-1.1/rev/c89c9d0bc877



signature.asc
Description: This is a digitally signed message part