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
--
Mit freundlichen Gruessen
Best Regards
Robert Schetterer
https://www.schetterer.org
Munich/Bavaria/Germany
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 somethingYour 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
On Tue, 2007-02-13 at 23:54 +0100, Robert Schetterer wrote:> > 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 setupWell, looks like it didn't work for the same message saving, but only for the next one. Fixed: http://dovecot.org/list/dovecot-cvs/2007-February/007736.html -------------- 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/20070216/4480cc38/attachment.bin>