[Dovecot] Doveadmn Quota

Timo Sirainen tss at iki.fi
Mon Jul 12 00:39:12 EEST 2010


On 11.7.2010, at 21.53, Steven King wrote:

> Ah ok, what is the difference between loading the plugin outside of
> protocol sections vs inside them?

Inside protocol section it affects only programs using that protocol. You can have:

mail_plugins = foo
protocol imap {
  mail_plugins = bar
}
protocol pop3 {
  mail_plugins = $mail_plugins bar
}

Now IMAP uses only "bar" plugin, POP3 uses "foo bar" plugins and everything else uses "foo". A realistic good setup could look like:

mail_plugins = quota acl autocreate
protocol imap {
  mail_plugins = $mail_plugins imap_acl imap_quota
}

Usually you want to enable plugins globally, and IMAP is the special case which has IMAP-specific plugins (well, sieve also for LDA).


More information about the dovecot mailing list