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).

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to