[Dovecot] Logging commands

Frank Elsner frank at moltke28.B.Shuttle.DE
Wed Apr 20 17:42:18 EEST 2011


On Wed, 20 Apr 2011 16:14:40 +0200 Luciano Mannucci wrote:
> 
> Hello all,
> 
> is there a way to make dovecot log the commands it gets from its
> clients both in imap and pop3? I need to log when messages are
> deleted so I can tell to the customer when and from which IP address
> his/her mailbox was emptied.

My conf.d/10-logging.conf for dovecot 2.0.12 contains

| # mail_log plugin provides more event logging for mail processes.
| plugin {
|   # Events to log. Also available: flag_change append
|   mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change
|   # Group events within a transaction to one line.
|   #mail_log_group_events = no
|   # Available fields: uid, box, msgid, from, subject, size, vsize, flags
|   # size and vsize are available only for expunge and copy events.
|   mail_log_fields = uid box from subject msgid size
| }


Maybe that helps you out.



--Frank Elsner


More information about the dovecot mailing list