[Dovecot] Enable mail logger plugin

Steffen Kaiser
Thu, 20 Feb 2014 10:07:45 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 19 Feb 2014, Sean Kamath wrote:

> From: Sean Kamath <kamath at moltingpenguin.com>
> 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 ?
>>
>> # 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?

@Alexandre: You've removed the "$mail_plugins" in the IMAP section
as
Peter already pointed out?

- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUwXT8XD1/YhP6VMHAQJmawf8CJOhyC7HLdGe0uUNlXJgYmFyCD12FpmF
DufwuCfVMxe+ce4H6q4QgTdCn91CWsUpsjnqnAsUUnFGUQvLOaswx0paoZLzotci
V0OjzhmEz8cTMOiswCEoLJQ8nzAxL7FKcy1eBdzj3+wDd5kH1kBd6DKzaIBLRSWB
iVoTke3A0wi9ZIwwABJNNhxR6x+/5/8tkCO6UUi+5kxVkDtX3mBnTAdU5g3xUc/x
Z4luip/JaI4MD26lq00RNgTmqW1OSKiRyPvQrVwjRMvOdjcNqw/yPjjpep2VoOv1
gqQYJpfXPJAdo9NWAsdrYtjsi5iRj0tRS6xms4A4FdvAH6NA2/7Drw==jAiR
-----END PGP SIGNATURE-----