[Dovecot] Enable mail logger plugin

Sean Kamath
Thu, 20 Feb 2014 05:48:08 -0000

On Feb 19, 2014, at 1:24 PM, Alexandre Ellert <aellert at numeezy.com>
wrote:
> Hello,
>
> I'm trying to get more info about user activity (especially when they
delete some email).
> So, I follow info from http://wiki2.dovecot.org/Plugins/MailLog to enabled
mail logger plugin, but I don't see anything in my logs.
>
> Can you tell me what I'm missing ?
>
> Thanks.
>
> # doveconf -n
> ...
> mail_location = maildir:/var/vmail/%d/%n/Maildir
> mail_plugins = quota mail_log notify
> mail_privileged_group = mail
> mail_uid = 5000
> ...
> protocol imap {
>  mail_max_userip_connections = 80
>  mail_plugins = quota imap_quota antispam
> }
> protocol pop3 {
>  mail_max_userip_connections = 30
>  mail_plugins = quota
> }
>

I see "mail_plugins = quota mail_log notify" at the top there, but in
the protocol imap block it's "mail_plugins = quota imap_quota
antispam".
Doesn't the imap block override the global setting?

Sean