I can't seem to find the magic combination to get dovecot to ignore the
trash folder when counting quota. I've got 1.0rc15 and using maildir
quotas. Not being able to trash messages when over quota is quite
annoying.
the docs suggest the following:
plugin {
quota = maildir:storage=10240:ignore=Trash
}
but as my quotas are defined per user via mysql DB, I'm thinking that I
need a modified version such as:
plugin {
quota = maildir:ignore=Trash
}
Which does not work.
just in case it's a semantic problem, I also tried:
plugin {
quota = maildir:ignore=INBOX.Trash
}
which also doesn't work.
I need other ideas of what to try to make it work if you please.
--
Kenny Dail <kend at amigo.net>
Richard Mayhew - Nashua Mobile Broadband Division
2006-Dec-13 09:08 UTC
[Dovecot] Trash and quota
Hi,
Have you tried concat'ng the data in yourMySQL statement?
Eg.
user_query = SELECT home, uid, gid, concat('maildir:storage=',
quota_kb,':ignore=Trash') AS quota FROM users WHERE userid =
'%u'
Kind Regards
Richard
-----Original Message-----
From: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org]
On Behalf Of Kenny Dail
Sent: 12 December 2006 09:43 PM
To: dovecot at dovecot.org
Subject: [Dovecot] Trash and quota
I can't seem to find the magic combination to get dovecot to ignore the
trash folder when counting quota. I've got 1.0rc15 and using maildir
quotas. Not being able to trash messages when over quota is quite
annoying.
the docs suggest the following:
plugin {
quota = maildir:storage=10240:ignore=Trash
}
but as my quotas are defined per user via mysql DB, I'm thinking that I
need a modified version such as:
plugin {
quota = maildir:ignore=Trash
}
Which does not work.
just in case it's a semantic problem, I also tried:
plugin {
quota = maildir:ignore=INBOX.Trash
}
which also doesn't work.
I need other ideas of what to try to make it work if you please.
--
Kenny Dail <kend at amigo.net>
On Tue, 2006-12-12 at 12:42 -0700, Kenny Dail wrote:> I can't seem to find the magic combination to get dovecot to ignore the > trash folder when counting quota. I've got 1.0rc15 and using maildir > quotas. Not being able to trash messages when over quota is quite > annoying. > > the docs suggest the following: > plugin { > quota = maildir:storage=10240:ignore=Trash > }I was going to release rc16 the next day after writing that to wiki, but looks like I didn't. So, updated the wiki now: "This feature works only with v1.0rc16 and later." You could get the latest nightly snapshot already. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061216/6fd5cf24/attachment.bin>