[Dovecot] GETQUOTAROOT?
All over a sudden the getquota plugin in SquirrelMail doesn't work anymore. I activated debugging an got:
IMAP command sent: a001 GETQUOTAROOT "INBOX" IMAP response received: Array ( [0] => * QUOTAROOT "INBOX" "" [1] => * QUOTA "" () ) A manual test results in:
. GETQUOTAROOT "INBOX"
- QUOTAROOT "INBOX" ""
- QUOTA "" () . OK Getquotaroot completed.
But that mailbox DOES have a quota defined. This is dovecot-1.0.x from the Mercurial repo.
I'm using:
quota = maildir quota = maildir:ignore=Trash quota_warning = storage=10%% /usr/local/scripts/quota-warning 90 quota_warning2 = storage=5%% /usr/local/scripts/quota-warning 95 quota_warning3 = storage=1%% /usr/local/scripts/quota-warning 99
which works fine otherwise.
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de In brightest day, in blackest night no evil shall escape my sight!
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
All over a sudden the getquota plugin in SquirrelMail doesn't work anymore. I activated debugging an got:
For SOME users it works, for some it doesn't. All users use "quota = maildir", and I cannot see any difference in their "maildirsize" files...
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I am starting to use kill filters on those morons who include unenforceable disclaimers that exceed 4 lines.
On Thu, 2008-04-10 at 11:30 +0200, Ralf Hildebrandt wrote:
. GETQUOTAROOT "INBOX"
- QUOTAROOT "INBOX" ""
- QUOTA "" () . OK Getquotaroot completed.
But that mailbox DOES have a quota defined. This is dovecot-1.0.x from the Mercurial repo.
I'm using:
quota = maildir quota = maildir:ignore=Trash
Both of these can't be defined, so I guess the latter one is used? Anyway since it doesn't specify a quota limit, they're taken from maildirsize file. If there is no maildirsize file, the QUOTA reply will be empty. That's the only thing I can think of.
- Timo Sirainen <tss@iki.fi>:
On Thu, 2008-04-10 at 11:30 +0200, Ralf Hildebrandt wrote:
. GETQUOTAROOT "INBOX"
- QUOTAROOT "INBOX" ""
- QUOTA "" () . OK Getquotaroot completed.
But that mailbox DOES have a quota defined. This is dovecot-1.0.x from the Mercurial repo.
I'm using:
quota = maildir quota = maildir:ignore=Trash
Both of these can't be defined, so I guess the latter one is used? Anyway since it doesn't specify a quota limit, they're taken from maildirsize file. If there is no maildirsize file, the QUOTA reply will be empty. That's the only thing I can think of.
Like I said:
For SOME users it works, for some it doesn't. All users use "quota = maildir", and I cannot see any difference in their "maildirsize" files...
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de ASCII and ye shall receive.
On Sun, 2008-04-27 at 20:29 +0200, Ralf Hildebrandt wrote:
- Timo Sirainen <tss@iki.fi>:
On Thu, 2008-04-10 at 11:30 +0200, Ralf Hildebrandt wrote:
. GETQUOTAROOT "INBOX"
- QUOTAROOT "INBOX" ""
- QUOTA "" () . OK Getquotaroot completed.
But that mailbox DOES have a quota defined. This is dovecot-1.0.x from the Mercurial repo.
I'm using:
quota = maildir quota = maildir:ignore=Trash
Both of these can't be defined, so I guess the latter one is used? Anyway since it doesn't specify a quota limit, they're taken from maildirsize file. If there is no maildirsize file, the QUOTA reply will be empty. That's the only thing I can think of.
Like I said:
For SOME users it works, for some it doesn't. All users use "quota = maildir", and I cannot see any difference in their "maildirsize" files...
And by that you mean it repeatedly doesn't work for specific users, not just randomly?
BTW:
quota_warning = storage=10%% /usr/local/scripts/quota-warning 90 quota_warning2 = storage=5%% /usr/local/scripts/quota-warning 95 quota_warning3 = storage=1%% /usr/local/scripts/quota-warning 99
v1.0 doesn't include code for quota warnings. Did you add them yourself or do these just not work?
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen