Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
TS> OK, so two problems: >> write(7, "From MAILER-DAEMON Fri Oct 16 2"..., 168) = 168 >> pwrite64(7, "\nContent-Length: 0", 18, 4235) = 18 TS> It's writing a zero byte mail. Was the incoming mail really zero bytes, TS> or is there something that truncates it? No, it's not a problem. This is a r

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 23:23 +0400, Kostik wrote: OK, so two problems: > write(7, "From MAILER-DAEMON Fri Oct 16 2"..., 168) = 168 > pwrite64(7, "\nContent-Length: 0", 18, 4235) = 18 It's writing a zero byte mail. Was the incoming mail really zero bytes, or is there something that truncates it?

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
TS> On Fri, 2009-10-16 at 22:41 +0400, Kostik wrote: >> close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded TS> Oh, I didn't read carefully enough. Closing .lock failed, not mbox. Does TS> the attached patch help? No. Error on closing .lock disappeared, but mbox does not rollback.

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 22:41 +0400, Kostik wrote: > close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded Oh, I didn't read carefully enough. Closing .lock failed, not mbox. Does the attached patch help? diff -r ebb2a91e6df7 src/lib/file-dotlock.c --- a/src/lib/file-dotlock.c Fri Oct 1

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
TS> On Fri, 2009-10-16 at 22:16 +0400, Kostik wrote: >> TS> Oh, it fails too late. Does this help? >> TS> http://hg.dovecot.org/dovecot-1.2/rev/ebb44fb7d9de >> >> It helped, but only half: >> --- >> close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded TS> This was again the only err

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 22:16 +0400, Kostik wrote: > TS> Oh, it fails too late. Does this help? > TS> http://hg.dovecot.org/dovecot-1.2/rev/ebb44fb7d9de > > It helped, but only half: > --- > close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded This was again the only error? It's still

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
Hi! TS> On Fri, 2009-10-16 at 18:06 +0400, Kostik wrote: >> close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded TS> Oh, it fails too late. Does this help? TS> http://hg.dovecot.org/dovecot-1.2/rev/ebb44fb7d9de It helped, but only half: --- close(/var/virtual/mail/I/I/koc.lock) fail

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Timo Sirainen
On Fri, 2009-10-16 at 18:06 +0400, Kostik wrote: > close(/var/virtual/mail/I/I/koc.lock) failed: Disk quota exceeded Oh, it fails too late. Does this help? http://hg.dovecot.org/dovecot-1.2/rev/ebb44fb7d9de signature.asc Description: This is a digitally signed message part

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
Timo Sirainen wrote: >> Introduction: >> If dovecot LDA save failed to mbox (not enough disk space, for example), >> it does not do rollback. Then my mailbox was corrupted. Last message is >> dropped in the middle of headers(body, attachments, etc). > > That shouldn't be happening, even if you're

Re: [Dovecot] "multiple quota roots" complains

2009-10-15 Thread Timo Sirainen
On Thu, 2009-10-15 at 13:56 -0400, Timo Sirainen wrote: > On Tue, 2009-10-13 at 23:00 +0400, Kostik wrote: > > Hello. > > > > Actually it is a problem for me. > > > > Introduction: > > If dovecot LDA save failed to mbox (not enough disk space, for example), > > it does not do rollback. Then my ma

Re: [Dovecot] "multiple quota roots" complains

2009-10-15 Thread Timo Sirainen
On Tue, 2009-10-13 at 23:00 +0400, Kostik wrote: > Hello. > > Actually it is a problem for me. > > Introduction: > If dovecot LDA save failed to mbox (not enough disk space, for example), > it does not do rollback. Then my mailbox was corrupted. Last message is > dropped in the middle of headers(

Re: [Dovecot] "multiple quota roots" complains

2009-10-15 Thread Kostik
Hello. I fix this issue by manually set "mount" option to user home: --- quota2 = fs:fs quota:group:mount=%h --- >From here: http://wiki.dovecot.org/Quota/FS --- mount=: Report quota from given path. Default is to use the path for the mail root directory. --- But by default it is NULL. =kostik

Re: [Dovecot] "multiple quota roots" complains

2009-10-13 Thread Kostik
Hello. Actually it is a problem for me. Introduction: If dovecot LDA save failed to mbox (not enough disk space, for example), it does not do rollback. Then my mailbox was corrupted. Last message is dropped in the middle of headers(body, attachments, etc). Same if I use file system quota, but do