[Dovecot] trash plugin sql

Marshal Newrock marshal at idealso.com
Tue Feb 13 23:07:22 UTC 2007


On Tue, 13 Feb 2007 23:54:56 +0100
Robert Schetterer <robert at schetterer.org> wrote:

> Hi @ll,
> with dovecot latest
> 
> following
> http://wiki.dovecot.org/DovecotLDAPostfixAdminMySQL
> 
> i have defined
> 
> plugin {
> quota = maildir
> acl = vfile:/etc/dovecot/acls
> trash = /etc/dovecot/dovecot-trash.conf
> }
> 
> Example dovecot-trash.conf file
> 
> 1 Spam
> 2 Trash
> 3 Sent
> 
> 
> from wiki
> 
> The Trash plugin. When saving a message would make user go over quota,
> this plugin automatically deletes the oldest mails from configured
> mailboxes until the message can be saved within quota limits.
> 
> this dont  work at my setup
> 
> where quota is coming out of sql
> 
> is there any trick to solve this?
> or did i missunderstand something

Your quota definition looks incomplete.  I assume the quota is defined
in your user query.  What's the output if you run that query in mysql?
Also, what is the current quota usage, and how big are each of the
mailboxes?

-- 
Marshal Newrock, Ideal Solution LLC
http://www.idealso.com


More information about the dovecot mailing list