[EXT] Re: [SAG] How to use mail_user_session_finished? (was Re: [Dovecot-news] Dovecot v2.3.19 released)
Aki Tuomi
aki.tuomi at open-xchange.com
Thu May 12 13:48:54 UTC 2022
> On 12/05/2022 16:10 Sylvain Robitaille <sag at encs.concordia.ca> wrote:
>
>
> 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:
<snip/>
If we read the documentation, we learn that the mail_user_session_finished is an event.
To export events, we use https://doc.dovecot.org/configuration_manual/event_export/
so.
event_exporter log {
format = json
format_args = time-rfc3339
transport = log
}
metric mail_user_session {
filter = event=mail_user_session_finished
exporter = log
}
p.s. you can use `doveconf -n` to get single output of your spread configuration.
Regards,
Aki
More information about the dovecot
mailing list