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@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of Kenny Dail Sent: 12 December 2006 09:43 PM To: dovecot@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@amigo.net