[Dovecot] Enable plugin per user
    Timo Sirainen 
    tss at iki.fi
       
    Fri Jan  8 13:59:29 EET 2010
    
    
  
On 8.1.2010, at 12.14, mailing at securitylabs.it wrote:
>> 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?
Returning mail_plugins from userdb overrides the setting, so it needs to return all of them. But of course you can do something like:
select concat('quota imap_quota mail_log ', extra_plugins) as mail_plugins
or whatever.
    
    
More information about the dovecot
mailing list