Re: [Dovecot] mbox empty messages in Sent folder

2008-08-13 Thread Timo Sirainen
On Aug 13, 2008, at 6:19 PM, Diego Liziero wrote: Mmm.. I tried to comment out the "cork" part and added a 10% random sleep after sending the command if (!(rand()%9)) usleep(rand()%500); and I started getting the famous "Error: IMAP(testdove): FETCH for mailbox INBOX UID xxx got too little

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-13 Thread Diego Liziero
On Wed, Aug 6, 2008 at 4:26 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Aug 6, 2008, at 6:11 AM, Diego Liziero wrote: >> On Mon, Aug 4, 2008 at 4:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >>> >>> Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/8ab845d3c96d >>> >> >> It seems so,

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-06 Thread Timo Sirainen
On Aug 6, 2008, at 6:11 AM, Diego Liziero wrote: On Mon, Aug 4, 2008 at 4:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/8ab845d3c96d It seems so, thanks Timo. With this patch, by now, all sent mails are correctly written in "Sent" f

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-06 Thread Diego Liziero
On Mon, Aug 4, 2008 at 4:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/8ab845d3c96d > It seems so, thanks Timo. With this patch, by now, all sent mails are correctly written in "Sent" folder, I'let you know if I've just been lucky :)

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-04 Thread Timo Sirainen
On Aug 4, 2008, at 5:21 AM, Diego Liziero wrote: On Mon, Aug 4, 2008 at 12:07 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: On Aug 3, 2008, at 10:31 PM, Diego Liziero wrote: It seems so, I sent you privately the rawlog and the last part of a sent-mail mailbox. The interesting thing about t

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-04 Thread Diego Liziero
On Mon, Aug 4, 2008 at 12:07 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Aug 3, 2008, at 10:31 PM, Diego Liziero wrote: > >> It seems so, >> I sent you privately the rawlog and the last part of a sent-mail mailbox. > > The interesting thing about that rawlog was that it shows the APPEND > ret

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-03 Thread Timo Sirainen
On Aug 3, 2008, at 10:31 PM, Diego Liziero wrote: It seems so, I sent you privately the rawlog and the last part of a sent-mail mailbox. The interesting thing about that rawlog was that it shows the APPEND returning it saved the message with UID x, but in the mbox file there's no UID x,

Re: [Dovecot] mbox empty messages in Sent folder

2008-08-03 Thread Diego Liziero
On Fri, Aug 1, 2008 at 1:09 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Aug 1, 2008, at 1:49 AM, Diego Liziero wrote: > > On Mon, Jun 23, 2008 at 11:03 AM, Diego Liziero <[EMAIL PROTECTED]> >> wrote: >> >>> On Tue, May 27, 2008 at 3:48 PM, Diego Liziero <[EMAIL PROTECTED]> >>> wrote: >>> >>

Re: [Dovecot] mbox empty messages in Sent folder

2008-07-31 Thread Timo Sirainen
On Aug 1, 2008, at 1:49 AM, Diego Liziero wrote: On Mon, Jun 23, 2008 at 11:03 AM, Diego Liziero <[EMAIL PROTECTED]> wrote: On Tue, May 27, 2008 at 3:48 PM, Diego Liziero <[EMAIL PROTECTED]> wrote: On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: Maybe this helps?

Re: [Dovecot] mbox empty messages in Sent folder

2008-07-31 Thread Diego Liziero
On Mon, Jun 23, 2008 at 11:03 AM, Diego Liziero <[EMAIL PROTECTED]> wrote: > On Tue, May 27, 2008 at 3:48 PM, Diego Liziero <[EMAIL PROTECTED]> wrote: >> On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> >>> Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/dd9d344

Re: [Dovecot] mbox empty messages in Sent folder

2008-06-23 Thread Diego Liziero
On Tue, May 27, 2008 at 3:48 PM, Diego Liziero <[EMAIL PROTECTED]> wrote: > On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> >> Could it be that the connection died client was trying to save it, so it >> never got there? Although it still shouldn't have left the From-li

Re: [Dovecot] mbox empty messages in Sent folder

2008-06-04 Thread Diego Liziero
On Tue, May 27, 2008 at 5:43 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> > Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/dd9d344ba140 >> >> Thanks Timo, I'll let you know if it happens again with this patch. > > That only causes the empty message not to be written at all, it doesn't >

Re: [Dovecot] mbox empty messages in Sent folder

2008-05-27 Thread Timo Sirainen
On Tue, 2008-05-27 at 15:48 +0200, Diego Liziero wrote: > On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > > > Could it be that the connection died client was trying to save it, so it > > never got there? Although it still shouldn't have left the From-line there. > >

Re: [Dovecot] mbox empty messages in Sent folder

2008-05-27 Thread Diego Liziero
On Mon, May 26, 2008 at 11:17 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > Could it be that the connection died client was trying to save it, so it > never got there? Although it still shouldn't have left the From-line there. The mailer didn't crashed. When it happened to me I thought about a

Re: [Dovecot] mbox empty messages in Sent folder

2008-05-26 Thread Timo Sirainen
On Mon, 2008-05-26 at 19:11 +0200, Diego Liziero wrote: > On Mon, May 26, 2008 at 3:34 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Mon, 2008-05-26 at 15:08 +0200, Diego Liziero wrote: > >> I'm talking about mbox Sent folder, where some mailers append through > >> imap server > >> a copy of

Re: [Dovecot] mbox empty messages in Sent folder

2008-05-26 Thread Diego Liziero
On Mon, May 26, 2008 at 3:34 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Mon, 2008-05-26 at 15:08 +0200, Diego Liziero wrote: >> I'm talking about mbox Sent folder, where some mailers append through >> imap server >> a copy of each message they send. >> >> Sometimes, just three header lines g

Re: [Dovecot] mbox empty messages in Sent folder

2008-05-26 Thread Timo Sirainen
On Mon, 2008-05-26 at 15:08 +0200, Diego Liziero wrote: > I'm talking about mbox Sent folder, where some mailers append through > imap server > a copy of each message they send. > > Sometimes, just three header lines got appended instead of the whole > mail message, such as: > > >From [EMAIL PROT

[Dovecot] mbox empty messages in Sent folder

2008-05-26 Thread Diego Liziero
I'm talking about mbox Sent folder, where some mailers append through imap server a copy of each message they send. Sometimes, just three header lines got appended instead of the whole mail message, such as: >From [EMAIL PROTECTED] Fri May 23 12:30:14 2008 X-UID: 2852 Status: RO This happened i