[Dovecot] Enable plugin per user
mailing at securitylabs.it
mailing at securitylabs.it
Fri Jan 8 12:14:39 EET 2010
On 08/01/2010 09:15, Timo Sirainen wrote:
> On 8.1.2010, at 9.58, mailing at securitylabs.it wrote:
>
>
>> is there a way to enable some plugin (in particular I'm thinking of lazy_expunge) on a per-user basis?
>>
>> I use Dovecot 1.2.9 with Maildir and virtual users in a MySQL database.
>>
> Yes. Return mail_plugins setting from your user_query. For example:
>
> user_query = select .., mail_plugins from users where ..
>
Thanks. One clarification. If I have:
protocol imap {
mail_plugins = quota imap_quota mail_log
in my conf file, I have to add only lazy_expunge in the MySQL field and
it "adds" to the plugins specified in the conf? Or I have to add every
plugin I'd like to use in the MySQL field?
Igor
More information about the dovecot
mailing list