Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-24 Thread Nikita Koshikov
On Mon, 23 Nov 2009 12:01:53 -0500 Timo Sirainen wrote: > On Mon, 2009-11-23 at 18:01 +0200, Nikita Koshikov wrote: > > On Fri, 06 Nov 2009 18:42:49 -0500 > > Timo Sirainen wrote: > > > > > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > > > I don't understand why gdb says "no deb

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-23 Thread Timo Sirainen
On Mon, 2009-11-23 at 18:01 +0200, Nikita Koshikov wrote: > On Fri, 06 Nov 2009 18:42:49 -0500 > Timo Sirainen wrote: > > > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > > I don't understand why gdb says "no debugging symbols found" for some > > > dovecot's executables, all binari

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-23 Thread Nikita Koshikov
On Fri, 06 Nov 2009 18:42:49 -0500 Timo Sirainen wrote: > On Fri, 2009-11-06 at 10:27 +0200, Nikita Koshikov wrote: > > I don't understand why gdb says "no debugging symbols found" for some > > dovecot's executables, all binaries under /usr/libexec/dovecot have > > "not stripped" > .. > > (gdb) b

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-11-06 Thread Nikita Koshikov
On Thu, 05 Nov 2009 12:52:08 -0500 Timo Sirainen wrote: > On Sat, 2009-10-31 at 10:42 +0200, Nikita Koshikov wrote: > > The patch helped with quotas, but it raises new error - "segmentation error" > > gdb backtrace would be helpful. But how to actually get it could be a > bit difficult, since I

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
> > The patch helped with quotas, but it raises new error - "segmentation > error" > > After some more tests, I find out that crash happens, while trying to proceed the third user, and the user's quota and other settings not important.

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
On Fri, 30 Oct 2009 13:16:47 -0400 Timo Sirainen wrote: > On Fri, 2009-10-30 at 14:03 +0200, Nikita Koshikov wrote: > > > > The problem that some users have their own quotas stored in ldap. > > See if the attached patch helps? I'm a bit afraid that it could also > break something. If it does,

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-31 Thread Nikita Koshikov
On Fri, 30 Oct 2009 13:16:47 -0400 Timo Sirainen wrote: > On Fri, 2009-10-30 at 14:03 +0200, Nikita Koshikov wrote: > > > > The problem that some users have their own quotas stored in ldap. > > See if the attached patch helps? I'm a bit afraid that it could also > break something. If it does,

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Timo Sirainen
On Fri, 2009-10-30 at 14:03 +0200, Nikita Koshikov wrote: > > > The problem that some users have their own quotas stored in ldap. See if the attached patch helps? I'm a bit afraid that it could also break something. If it does, there's really no easy way to get this fixed before v2.0. diff -r a

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Nikita Koshikov
On Thu, 29 Oct 2009 13:10:37 -0400 Timo Sirainen wrote: > On Wed, 2009-10-28 at 10:30 +0200, Nikita Koshikov wrote: > > The problem that some users have their own quotas stored in ldap. > > So the quota_rule should be returned by userdb lookup from ldap, right? > One more clean example. For u

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-30 Thread Nikita Koshikov
On Thu, 29 Oct 2009 13:10:37 -0400 Timo Sirainen wrote: > On Wed, 2009-10-28 at 10:30 +0200, Nikita Koshikov wrote: > > The problem that some users have their own quotas stored in ldap. > > So the quota_rule should be returned by userdb lookup from ldap, right? Yes, and it's working fine with

Re: [Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-29 Thread Timo Sirainen
On Wed, 2009-10-28 at 10:30 +0200, Nikita Koshikov wrote: > The problem that some users have their own quotas stored in ldap. So the quota_rule should be returned by userdb lookup from ldap, right? > Info: auth input: uid=8 > Info: auth input: gid=12 > Info: auth input: home=/data/mail/domain.c

[Dovecot] expire plugin + --exec-mail in 1.2.6 version

2009-10-28 Thread Nikita Koshikov
Hello list, After upgrade to dovecot version 1.2.6 I have noticed some quota malfunctions(users become often overquota). Looking at logs closely I have found that quota value resets to general dovecot-config( quota = maildir:Mailbox quota quota_rule = *:storage=500M quota_rule2 = Trash:storage=1