[Dovecot] Enable plugin per user

Timo Sirainen tss at iki.fi
Fri Jan 8 10:15:48 EET 2010


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 ..

BTW. Don't post to list by replying to an existing mail. It preserves In-Reply-To: header and messes up threading.


More information about the dovecot mailing list