[Dovecot] Trash and quota

Richard Mayhew - Nashua Mobile Broadband Division richardm at nashuamobile.com
Wed Dec 13 09:08:34 UTC 2006


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>



More information about the dovecot mailing list