RE: RE: stats events for use with prometheus

2021-10-12 Thread Marc
s from the example, than > > searching for events fields etc creating your own. > > > > > > > > >[1] > > >https://doc.dovecot.org/configuration_manual/stats/openmetrics/ > > > > > > > Point is to use some external tool for that. Dovecot p

RE: RE: stats events for use with prometheus

2021-10-08 Thread Marc
or > > > >It should be on this page, because I do not see it there? > >https://doc.dovecot.org/admin_manual/list_of_events/#list-of-events > > > >I wonder even if this is correct, because from the event name I would > assume this metric is calculate

RE: RE: stats events for use with prometheus

2021-10-08 Thread Aki Tuomi
he page is now updated. > >I did not even know, I just picked the first one from the example to search for > >It should be on this page, because I do not see it there? >https://doc.dovecot.org/admin_manual/list_of_events/#list-of-events > >I wonder even if this is correct, because f

RE: [EXT] RE: stats events for use with prometheus

2021-10-08 Thread Marc
st one from the example to search for It should be on this page, because I do not see it there? https://doc.dovecot.org/admin_manual/list_of_events/#list-of-events I wonder even if this is correct, because from the event name I would assume this metric is calculated when a client disconnects. When I use t

Re: [EXT] RE: stats events for use with prometheus

2021-10-07 Thread Siavash Tavakoli
On 07/10/2021 22:19, Marc wrote: I also do not see where this client_connection_finished is described. Thanks for pointing it out. It was indeed a documentation error as there is no such event. The page is now updated.

RE: stats events for use with prometheus

2021-10-07 Thread Marc
vecot.org/configuration_manual/stats/openmetrics/ Yes thanks I have these, but if I see this list[1] and what configurations options exists, it could be little longer example. I also do not see where this client_connection_finished is described. [1] https://doc.dovecot.org/admin_manual/list_of_events/#list-of-events

Re: stats events for use with prometheus

2021-10-07 Thread Siavash Tavakoli
On 07/10/2021 20:27, Marc wrote: I am struggling a bit with getting some basic metrics into prometheus. Is there some sample metrics file that has most common metrics configured? This page has sample configurations and the corresponding exports:

stats events for use with prometheus

2021-10-07 Thread Marc
I am struggling a bit with getting some basic metrics into prometheus. Is there some sample metrics file that has most common metrics configured? [@ conf.d]# cat 05-metrics.conf # https://doc.dovecot.org/admin_manual/event_design/#event-design metric imap_command { filter =

Re: Leaked Events

2020-09-16 Thread bobby
nl> > > <mailto:step...@rename-it.nl <mailto:step...@rename-it.nl>>> wrote: > > > > > > > > > > > > On 08/09/2020 18:01, bobby wrote: > > > > I am going through my maillog file, and noticed these > >

Re: Leaked Events

2020-09-13 Thread Germain Le Chapelain
20 at 12:42 PM Stephan Bosch   >     <step...@rename-it.nl <mailto:step...@rename-it.nl>   <mailto:step...@rename-it.nl <mailto:step...@rename-it.nl>>> wrote:   >   >   >   >         On 08/09/2020 18:01, bobby wrote:   >         > I am going through m

Re: Leaked Events

2020-09-11 Thread Stephan Bosch
lt;mailto:step...@rename-it.nl>>> wrote: > > > >         On 08/09/2020 18:01, bobby wrote: >         > I am going through my maillog file, and noticed these events: >         > >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):

Re: Leaked Events

2020-09-11 Thread bobby
> > > On 08/09/2020 18:01, bobby wrote: > > > I am going through my maillog file, and noticed these events: > > > > > > Sep 8 15:56:17 mail dovecot[294462]: lmtp(391257): Warning: > > Event > > > 0x5

Re: Leaked Events

2020-09-11 Thread Stephan Bosch
...@rename-it.nl>> wrote: On 08/09/2020 18:01, bobby wrote: > I am going through my maillog file, and noticed these events: > > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257): Warning: Event > 0x55db5bc41200 leaked (par

Re: Leaked Events

2020-09-11 Thread bobby
Is this an affected version of the bug? > 2.3.8 (9df20d2db) > > On Tue, Sep 8, 2020 at 12:42 PM Stephan Bosch > wrote: > >> >> >> On 08/09/2020 18:01, bobby wrote: >> > I am going through my maillog file, and noticed these events: >> > >

Re: Leaked Events

2020-09-08 Thread Stephan Bosch
On 08/09/2020 18:01, bobby wrote: I am going through my maillog file, and noticed these events: Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257): Warning: Event 0x55db5bc41200 leaked (parent=0x55db5bc3b830): mail-storage-service.c:1325 Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257

Leaked Events

2020-09-08 Thread bobby
I am going through my maillog file, and noticed these events: Sep 8 15:56:17 mail dovecot[294462]: lmtp(391257): Warning: Event 0x55db5bc41200 leaked (parent=0x55db5bc3b830): mail-storage-service.c:1325 Sep 8 15:56:17 mail dovecot[294462]: lmtp(391257): Warning: Event 0x55db5bc3b830 leaked

Race condition in IMAP NOTIFY for events received NOTIFY_DELAY_MSECS apart

2019-05-25 Thread Guilhem Moulin via dovecot
Hi there, There seem to be a race condition in IMAP NOTIFY: when two events for the SELECTED mailbox are received soon after one another, sometimes only the first one is being reported to clients that enabled IMAP NOTIFY. On closer look it seems like this is most often reproducible when

Re: events

2015-10-29 Thread Teemu Huovila
On 28.10.2015 19:11, Alessio Cecchi wrote: > Il 26.10.2015 12:04 Teemu Huovila ha scritto: >> On 26.10.2015 12:44, Frederik Bosch | Genkgo wrote: >>> Teemu, >>> >>> If just need the http request, I will need something like the following >>> configuration, right? So no meta data plugin, but with

Re: events

2015-10-28 Thread Alessio Cecchi
Il 26.10.2015 12:04 Teemu Huovila ha scritto: On 26.10.2015 12:44, Frederik Bosch | Genkgo wrote: Teemu, If just need the http request, I will need something like the following configuration, right? So no meta data plugin, but with notify and push_notification? protocol lmtp {

Re: events

2015-10-26 Thread Teemu Huovila
On 26.10.2015 09:45, Frederik Bosch | Genkgo wrote: > Ah fantastic. Now I guess I can use notify plugin without push_notification > metadata plugins, right? Im not sure I understand the question correctly. I understood from the thread that you would be writing a driver for the

Re: events

2015-10-26 Thread Teemu Huovila
On 26.10.2015 12:44, Frederik Bosch | Genkgo wrote: > Teemu, > > If just need the http request, I will need something like the following > configuration, right? So no meta data plugin, but with notify and > push_notification? > > protocol lmtp { > mail_plugins = $mail_plugins notify

Re: events

2015-10-26 Thread Frederik Bosch | Genkgo
Teemu, If just need the http request, I will need something like the following configuration, right? So no meta data plugin, but with notify and push_notification? protocol lmtp { mail_plugins = $mail_plugins notify push_notification } plugin { push_notification_driver =

Re: events

2015-10-26 Thread Frederik Bosch | Genkgo
Thanks again. Final question: how do I configure this plugin? On 23-10-15 16:12, Michael M Slusarz wrote: On 10/22/2015 12:46 AM, Frederik Bosch | Genkgo wrote: Thanks a lot! After looking at the source, I guess the ox driver will do. Maybe, when other people find this thread, you could

Re: events

2015-10-26 Thread Teemu Huovila
On 26.10.2015 08:59, Frederik Bosch | Genkgo wrote: > Thanks again. Final question: how do I configure this plugin? As the only existing driver at the moment is the OX one, the plugin is documented in OX wiki at http://oxpedia.org/wiki/index.php?title=AppSuite:OX_Mail#Setup_of_the_Dovecot_Push

Re: events

2015-10-26 Thread Frederik Bosch | Genkgo
Ah fantastic. Now I guess I can use notify plugin without push_notification metadata plugins, right? On 26-10-15 08:36, Teemu Huovila wrote: On 26.10.2015 08:59, Frederik Bosch | Genkgo wrote: Thanks again. Final question: how do I configure this plugin? As the only existing driver at the

Re: events

2015-10-26 Thread Frederik Bosch | Genkgo
Teemu, After having another look at the source code, it seems that you are right. Thanks for making this clear. Regards, Frederik On 26-10-15 12:04, Teemu Huovila wrote: On 26.10.2015 12:44, Frederik Bosch | Genkgo wrote: Teemu, If just need the http request, I will need something like

Re: events

2015-10-23 Thread Michael M Slusarz
On 10/22/2015 12:46 AM, Frederik Bosch | Genkgo wrote: Thanks a lot! After looking at the source, I guess the ox driver will do. Maybe, when other people find this thread, you could tell what dlog is. Because I do not know it, and googling came up with little results. "dlog" is nothing more

Re: events

2015-10-22 Thread Frederik Bosch | Genkgo
Michael, Thanks a lot! After looking at the source, I guess the ox driver will do. Maybe, when other people find this thread, you could tell what dlog is. Because I do not know it, and googling came up with little results. Regards, Frederik On 21-10-15 23:33, Michael M Slusarz wrote: On

events

2015-10-21 Thread Frederik Bosch | Genkgo
Hello, We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do something with it. The question is: how can

Re: events

2015-10-21 Thread Michael M Slusarz
On 10/21/2015 9:07 AM, Frederik Bosch | Genkgo wrote: We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do

Re: NOTIFY regression: 2.18 no longer notifies of events in INBOX

2015-09-07 Thread Timo Sirainen
Fixed: http://hg.dovecot.org/dovecot-2.2/rev/fa979ccfa34c http://hg.dovecot.org/dovecot-2.2/rev/f600285c3df2 On 07/26/2015 06:50 PM, Guilhem Moulin wrote: > Here is an example with APPEND > > $ /usr/lib/dovecot/imap > S1: * PREAUTH [CAPABILITY IMAP4rev1 … MOVE NOTIFY SPECIAL-USE] Logged

NOTIFY regression: 2.18 no longer notifies of events in INBOX

2015-07-26 Thread Guilhem Moulin
Here is an example with APPEND $ /usr/lib/dovecot/imap S1: * PREAUTH [CAPABILITY IMAP4rev1 … MOVE NOTIFY SPECIAL-USE] Logged in as guilhem C1: a1 NOTIFY SET (INBOXES (MessageNew MessageExpunge FlagChange)) S1: a1 OK NOTIFY completed (0.000 secs) $ /usr/lib/dovecot/imap

Re: [Dovecot] mail_log_events, but who exactly triggered events? [feature request]

2014-02-04 Thread Arkadiusz Miśkiewicz
but how to log who exactly triggered particular event? For example 5 users from 5 IP addresses uses single imap user/mailbox. One of them deletes email and I'm logging delete related events. The only logged thing is: dovecot: imap(user): delete: box=INBOX, uid=673287, msgid=some@thing

Re: [Dovecot] mail_log_events, but who exactly triggered events? [feature request]

2014-02-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 4 Feb 2014, Arkadiusz Miśkiewicz wrote: Date: Tue, 4 Feb 2014 13:09:15 +0100 From: Arkadiusz Miśkiewicz ar...@maven.pl To: dovecot@dovecot.org Subject: Re: [Dovecot] mail_log_events, but who exactly triggered events? [feature request

Re: [Dovecot] mail_log_events, but who exactly triggered events? [feature request]

2014-02-04 Thread Arkadiusz Miśkiewicz
On Tuesday 04 of February 2014, Steffen Kaiser wrote: On Tue, 4 Feb 2014, Arkadiusz Miśkiewicz wrote: Date: Tue, 4 Feb 2014 13:09:15 +0100 From: Arkadiusz Miśkiewicz ar...@maven.pl To: dovecot@dovecot.org Subject: Re: [Dovecot] mail_log_events, but who exactly triggered events

[Dovecot] mail_log_events, but who exactly triggered events?

2014-01-30 Thread Arkadiusz Miśkiewicz
Hi. mail_log_events is nice addition but how to log who exactly triggered particular event? For example 5 users from 5 IP addresses uses single imap user/mailbox. One of them deletes email and I'm logging delete related events. The only logged thing is: dovecot: imap(user): delete: box

Re: [Dovecot] mail_log_events, but who exactly triggered events?

2014-01-30 Thread Reindl Harald
Am 30.01.2014 10:50, schrieb Arkadiusz Miśkiewicz: mail_log_events is nice addition but how to log who exactly triggered particular event? For example 5 users from 5 IP addresses uses single imap user/mailbox. One of them deletes email and I'm logging delete related events. The only

Re: [Dovecot] mail_log_events, but who exactly triggered events?

2014-01-30 Thread Arkadiusz Miśkiewicz
email and I'm logging delete related events. The only logged thing is: dovecot: imap(user): delete: box=INBOX, uid=673287, msgid=some@thing, size=1230 which tells me nothing about who triggered it actually (note all 5 users were logged in at deletion time) How to solve this problem

Re: [Dovecot] mail_log_events, but who exactly triggered events?

2014-01-30 Thread Reindl Harald
single imap user/mailbox. One of them deletes email and I'm logging delete related events. The only logged thing is: dovecot: imap(user): delete: box=INBOX, uid=673287, msgid=some@thing, size=1230 which tells me nothing about who triggered it actually (note all 5 users were logged

Re: [Dovecot] mail_log_events, but who exactly triggered events?

2014-01-30 Thread Steffen Kaiser
who exactly triggered particular event? For example 5 users from 5 IP addresses uses single imap user/mailbox. One of them deletes email and I'm logging delete related events. The only logged thing is: dovecot: imap(user): delete: box=INBOX, uid=673287, msgid=some@thing, size=1230 which tells me

[Dovecot] IDLE dropping EXISTS events on mass message arrival

2014-01-22 Thread Eric Wong
in between them, I get EXISTS events for each message as expected. However, when I store a bunch of messages at once (via tag + mass copy in mutt on a fast-ish connection), I get a few EXISTS events (sometimes one, sometimes two) even though I copied a lot of new messages over. I expected to get an EXISTS

Re: [Dovecot] IDLE dropping EXISTS events on mass message arrival

2014-01-22 Thread Michael M Slusarz
messages arrive with some time interval in between them, I get EXISTS events for each message as expected. However, when I store a bunch of messages at once (via tag + mass copy in mutt on a fast-ish connection), I get a few EXISTS events (sometimes one, sometimes two) even though I copied a lot of new

Re: [Dovecot] Are these events normal?

2007-12-08 Thread Timo Sirainen
? Somewhat rarer are events like 2007-12-06 19:36:44.114294500 dovecot: Info: POP3(): Disconnected: Storage error during logout. top=1/1723, retr=1/4665462, del=27/61, size=17280696 It should have logged the actual storage error before this. and rarely we got 2007-11-24 12:10

[Dovecot] Are these events normal?

2007-12-08 Thread Jost Krieger
: Error: IMAP(): FETCH for mailbox UCE-TMP UID 1545 got too little data: 7582 vs 7590 2007-12-06 16:00:27.445497500 dovecot: Error: IMAP(): FETCH for mailbox UCE-TMP UID 1545 got too little data: 7582 vs 7590 Somewhat rarer are events like 2007-12-06 19:36:44.114294500 dovecot

Re: [Dovecot] Are these events normal?

2007-12-08 Thread Jost Krieger
? That is possible. We have a direct access webmail system in place. I'll check there. Are you using NFS or other shared filesystem? None of that. Somewhat rarer are events like 2007-12-06 19:36:44.114294500 dovecot: Info: POP3(): Disconnected: Storage error during logout. top=1

Re: [Dovecot] Are these events normal?

2007-12-08 Thread Timo Sirainen
On Sat, 2007-12-08 at 22:20 +0100, Jost Krieger wrote: On Sat, Dec 08, 2007 at 11:20:12AM +0200, Timo Sirainen wrote: On Fri, 2007-12-07 at 21:08 +0100, Jost Krieger wrote: The most common event is: 2007-12-06 16:00:17.837654500 dovecot: Error: IMAP(): FETCH for mailbox