[Dovecot] Dovecot+Postfix+Mysql+quotas doesn't work

Timo Sirainen tss at iki.fi
Tue Mar 1 19:58:16 EET 2011


On 1.3.2011, at 14.41, drum.lucas at gmail.com wrote:

> user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n'
> as mail, 150 AS uid, 12 AS gid, CONCAT('*:bytes=', quota) AS quota_rule,

Looks ok.

> 'INBOX.Trash:ignore' AS quota_rule2, 'INBOX.Spam:ignore' AS quota_rule3,
> 'INBOX.Virus:ignore' AS quota_rule4,

These are unnecessary here though. They work, but they're just extra unnecessary work for SQL server. You could just as well keep them in plugin { } section in config.



More information about the dovecot mailing list