Thank you. I tested this and a new log line "mail dovecot: stats:" was created. Any chance to append the user-agent info to "mail dovecot: imap-login:" log line ?
On Tue, Nov 25, 2025 at 3:28 PM Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
On 25/11/2025 15:24 EET Adrian M via dovecot <dovecot@dovecot.org> wrote:
Hello, I was using imap_id_log to log user-agent in 2.3, but this seems to be replaced in 2.4 by imap_id_received, however I am unable to find any example how this is supposed to be configured. Please help me clarify this. Hello, I was using imap_id_log to log user-agent in 2.3, but this seems to be replaced in 2.4 by imap_id_received, however I am unable to find any example how this is supposed to be configured. Please help me clarify this.
event_exporter log { format = tab-text time_format = rfc3339 }
metric imap_id_received { filter = event=imap_id_received exporter = log }
Aki
Thank you. I tested this and a new log line "mail dovecot: stats:" was created. Any chance to append the user-agent info to "mail dovecot: imap-login:" log line ? On Tue, Nov 25, 2025 at 3:28PM Aki Tuomi <[1]aki.tuomi@open-xchange.com> wrote:
> On 25/11/2025 15:24 EET Adrian M via dovecot <[2]dovecot@dovecot.org>
wrote:
>
>
> Hello,
> I was using imap_id_log to log user-agent in 2.3, but this seems to be
> replaced in 2.4 by imap_id_received, however I am unable to find any
> example how this is supposed to be configured.
> Please help me clarify this.
> Hello,
> I was using imap_id_log to log user-agent in 2.3, but this seems to
be
> replaced in 2.4 by imap_id_received, however I am unable to find
any
> example how this is supposed to be configured.
> Please help me clarify this.
event_exporter log {
format = tab-text
time_format = rfc3339
}
metric imap_id_received {
filter = event=imap_id_received
exporter = log
}
Aki
References
Visible links
- mailto:aki.tuomi@open-xchange.com
- mailto:dovecot@dovecot.org