Re: [Dovecot] Enable plugin per user
On 8.1.2010, at 12.14, mail...@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.
Re: [Dovecot] Enable plugin per user
On 08/01/2010 09:15, Timo Sirainen wrote: On 8.1.2010, at 9.58, mail...@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
Re: [Dovecot] Enable plugin per user
On 8.1.2010, at 9.58, mail...@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 .. BTW. Don't post to list by replying to an existing mail. It preserves In-Reply-To: header and messes up threading.
[Dovecot] Enable plugin per user
Hello, 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. Thanks for your support, Igor.