On Thu, 12 May 2022, Aki Tuomi wrote:

Can you provide us with the configuration you attempted?

Sure, but the complete configuration is spread across a number of files:

   ...
   ├── encs.d
   │   ├── 10-auth.conf
   │   ├── 10-logging.conf
   │   ├── 10-mail.conf
   │   ├── 10-master.conf
   │   ├── 10-ssl.conf
   │   ├── 20-imap.conf
   │   ├── 20-lmtp.conf
   │   ├── 20-managesieve.conf
   │   ├── 20-submission.conf
   │   ├── 90-sieve.conf
   │   ├── auth-ldap.conf
   │   └── ldap.EXTRA
   ...

Is that what you want, or are you interested specifically in the logging
configuration?  The complete configuration as it is works fine, and what
I'd done was simply to add to the logging configuration so it from from
this:

   # 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
     #mail_log_events = mailbox_delete mailbox_rename
     # 2022-01-02 Anne Bennett: per RT#461889, log more
     mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename append flag_change
     # 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 msgid size
   }

... to this:

   # 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
     #mail_log_events = mailbox_delete mailbox_rename
     # 2022-01-02 Anne Bennett: per RT#461889, log more
     # 2022-05-11 Sylvain Robitaille: per RT#478860, log new
     #            mail_user_session_finished event
     mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename append flag_change mail_user_session_finished
     # Available fields: uid, box, msgid, from, subject, size, vsize, flags
     # size and vsize are available only for expunge and copy events.
     # mail_user_session_finished adds: utime, stime, minor_faults,
     #    major_faults, vol_cs, invol_cs, rss, vsz, rchar, wchar, syscr,
     #    syscw
     mail_log_fields = uid box msgid size rss vsz
   }

Everything else was left as is from the existing, working
configuration.  I can tar up the entire configuration if you really
want to see it all, or you could tell me if there are specific items
you're specifically looking for.

--
----------------------------------------------------------------------
Sylvain Robitaille                               s...@encs.concordia.ca

Systems analyst / AITS                            Concordia University
Faculty of Engineering and Computer Science   Montreal, Quebec, Canada
----------------------------------------------------------------------

Reply via email to