Re: [Dovecot] Problems with the fs-quota plugin on delivery stage

2010-05-17 Thread Kostik
Kostik wrote: >>> Just noticed a strange behavior of the FS quota plugin on delivery stage. > Is there anyone know? This log message... > >> May 12 20:01:47 dovecot: deliver(x...@x.): quota-fs: gid=5751796, >> value=8409088, limit=10485760, active=1 > >

Re: [Dovecot] Problems with the fs-quota plugin on delivery stage

2010-05-13 Thread Kostik
Hi! Kostik wrote: >> Just noticed a strange behavior of the FS quota plugin on delivery stage. Is there anyone know? This log message... > May 12 20:01:47 dovecot: deliver(x...@x.): quota-fs: gid=5751796, > value=8409088, limit=10485760, active=1 shows "value=8409088

Re: [Dovecot] Problems with the fs-quota plugin on delivery stage

2010-05-12 Thread Kostik
Kostik wrote: > Just noticed a strange behavior of the FS quota plugin on delivery stage. My /usr/local/sbin/dovecot -n is: --- # 1.2.11: /usr/local/etc/dovecot.conf # OS: Linux 2.6.32.12 i686 Slackware 11.0.0 base_dir: /var/run/dovecot/ protocols: imap pop3 listen(default): *:143 listen(i

[Dovecot] Problems with the fs-quota plugin on delivery stage

2010-05-12 Thread Kostik
1 -- mailbox(not maildir) via NFS storage. Please, tell me where to start looking for the problem? =kostik

Re: [Dovecot] Possible CPU Denial-Of-Service attack to dovecot IMAP.

2010-03-03 Thread Kostik
Hi! Timo Sirainen wrote: >> Hmm. Since it's causing also real problems, I suppose I should fix it >> for v1.2 too.. The problem anyway is only with v1.2 + mbox combination, >> nothing else. > > Here's a workaround for v1.2: > http://hg.dovecot.org/dovecot-1.2/rev/6c9f2ed821df Yes, Timo, v1.2 wor

[Dovecot] Possible CPU Denial-Of-Service attack to dovecot IMAP.

2010-02-28 Thread Kostik
Hello! 5. I can provide download link to this buggy mailbox file if needed. Yes, that would be helpful. I couldn't reproduce it. I hope this will help: http://user.rol.ru/~koc/buggymbox =koc --- Ванкувер 2010. Новости Олимпиады. http://olympic.aport.ru

[Dovecot] Possible CPU Denial-Of-Service attack to dovecot IMAP.

2010-02-27 Thread Kostik
Hi All! Some time ago, we received e-mail message, which makes our server CPU exhaustion attack. --- PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+COMMAND 26319 5751796 20 0 2868 1868 1484 R 99.2 0.1 22:04.77 imap --- It happens when I try open mail folder with this buggy mes

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
6de777e52 Yabba-Dabba Do! :) Yes, this patch solves the problem: "rejected: Not enough disk space". And inbox is rollbacked now. Timo, many thanks for all your help! =kostik

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 mb

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: Dis

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/ma

Re: [Dovecot] "multiple quota roots" complains

2009-10-16 Thread Kostik
not crash. I can make strace if it helps. > The stat((null)) should be fixed by this: > http://hg.dovecot.org/dovecot-2.0/rev/14eeed133d57 I backport it to dovecot-1.2 and "stat((null))" fixed now! Thanx again, Timo! =kostik

Re: [Dovecot] FS Quota broken for delivering BIG message

2009-10-16 Thread Kostik
Timo Sirainen wrote: > I guess the only nice way to handle this is to just let it use memory as > much as it needs in this situation: > > http://hg.dovecot.org/dovecot-1.2/rev/a8254e6d5ada Yes, problem resolved. Timo, thanx a lot! =kostik

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 NU

[Dovecot] FS Quota broken for delivering BIG message

2009-10-15 Thread Kostik
, size) < 0) { i_assert(errno != 0); stream->istream.stream_errno = errno; i_error("write_full(%s) failed: %m", sstream->temp_path); i_stream_close(&stream->istream); return -1; } ... } --- =kostik

Re: [Dovecot] "multiple quota roots" complains

2009-10-13 Thread Kostik
". But "fs quota plugin" say: "stat((null)) failed: Bad address". And LDA tries to deliver message to mbox: save failed, no rollback, mbox corrupted. Timo or anybody! Please! Help me! :) =kostik > With dovecot-1.2.6 "multiple quota roots" complains:

[Dovecot] "multiple quota roots" complains

2009-10-07 Thread Kostik
l/I/I/koc fs quota add storage dir = /var/virtual/home/I/I/koc fs quota block device = nfsf:/export fs quota mount point = /mount/m6 quota-fs: host=nfsf, path=/export, gid=52304385, bytes quota-fs: gid=52304385, value=48660480, limit=52428800, active=1 --- =kostik

Re: [Dovecot] how to "hide" mailbox from the IMAP clients

2009-10-07 Thread Kostik
Timo Sirainen wrote: > On Tue, 2009-10-06 at 18:58 +0400, Kostik wrote: > How about redesign for the Sieve script location? You could use for > example: > > sieve_dir = /var/sieve/%u/scripts/ > sieve = /var/sieve/%u/active > > or something. Anyway, are you using mbox

Re: [Dovecot] how to "hide" mailbox from the IMAP clients

2009-10-06 Thread Kostik
Eduardo M KALINOWSKI wrote: > On Ter, 06 Out 2009, Kostik wrote: >> Hello, everyone! >> >> Is it possible to "hide" mailbox from the IMAP clients, so as to prevent >> any user from subscribing to the some folders? >> >> My storages are "mbox ma

[Dovecot] how to "hide" mailbox from the IMAP clients

2009-10-06 Thread Kostik
Hello, everyone! Is it possible to "hide" mailbox from the IMAP clients, so as to prevent any user from subscribing to the some folders? My storages are "mbox maildir". For example, to hide the directory where the personal Sieve scripts are stored or etc. =kostik

[Dovecot] Panic: file mbox-sync-rewrite.c: line 590

2009-08-03 Thread Kostik
Hello! We start migrate to dovecot (v1.2.2). # 1.2.2: /usr/local/etc/dovecot.conf # OS: Linux 2.6.30 i686 Slackware 11.0.0 We have FS user quota and NFS mailboxs(mbox only). While user not overquota, all works fine. But if is, we get error at log: --- Aug 3 16:45:17 chest004 dovecot: pop3-logi

[Dovecot] NFS group RQUOTA

2009-01-20 Thread Kostik
Hi All. Linux have EXT_RQUOTAPROG (Extended (LINUX) RPC quota program). Does anybody know how to implement dovecot GROUP NFS quota-fs? =kostik