[Dovecot] dovecot overquota and delete message

Timo Sirainen tss at iki.fi
Fri Mar 7 03:15:44 EET 2008


On Fri, 2008-03-07 at 02:14 +0100, sa wrote:
> ok, it's work but it forces a standard quota to all and I have mysql
> backend.
> 
> I change it to :
> 
> plugin { 
>     quota = maildir 
>     quota_rule = *:storage=100M 
>     quota_rule2 = Trash:storage=100M 
>     user_query = select concat('*:bytes=', quota) as quota_rule from mailbox
> where userid = '%u' 

user_query in plugin {} section does nothing. It needs to be in your
dovecot-sql.conf (or wherever your userdb sql points to).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080307/2701a378/attachment.bin 


More information about the dovecot mailing list