MailLog plugin distinguish between simultaneous logins

Aki Tuomi aki.tuomi at open-xchange.com
Wed Nov 7 17:36:45 EET 2018


> On 07 November 2018 at 16:46 azurit at pobox.sk wrote:
> 
> 
> 
> Citát Aki Tuomi <aki.tuomi at open-xchange.com>:
> 
> > On 7.11.2018 16.13, azurit at pobox.sk wrote:
> >> Hi,
> >>
> >> is it, somehow, possible to distinguish between multiple simultaneous
> >> logins in MailLog plugin? For example, which login deleted which
> >> message. Is that p[lugin able to log e.g. session ID?
> >>
> >> azur
> >>
> >>
> > mail_log_prefix = "%s(%u)<%{pid}><%{session}>: "
> >
> > Aki
> 
> 
> 
> Thank you but it doesn't work for me. Which Dovecot version do i need?  
> I'm using 2.2.34.
> 
>

Seems to work for me... mail_log_prefix goes to toplevel config.

Nov 07 17:36:00 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: delete: box=INBOX, uid=1, msgid=, size=14126
Nov 07 17:36:00 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: delete: box=INBOX, uid=2, msgid=, size=14126
Nov 07 17:36:00 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: delete: box=INBOX, uid=3, msgid=, size=14126
Nov 07 17:36:04 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: expunge: box=INBOX, uid=1, msgid=, size=14126
Nov 07 17:36:04 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: expunge: box=INBOX, uid=2, msgid=, size=14126
Nov 07 17:36:04 imap(testuser1)<31859><I5Yc3RR6lLrAqHoB>: Info: expunge: box=INBOX, uid=3, msgid=, size=14126

Aki


More information about the dovecot mailing list