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

Reply via email to