Displaying 20 results from an estimated 22 matches for "imap_command_finished".
2019 Jul 11
2
Getting login stats
..._started
}
metric auth_client_userdb_lookup_started {
event_name = auth_client_userdb_lookup_started
}
metric auth_client_passdb_lookup_started {
event_name = auth_client_passdb_lookup_started
}
metric auth_client_cache_flush_started {
event_name = auth_client_cache_flush_started
}
metric imap_command_finished {
event_name = imap_command_finished
filter {
name = LOGIN
}
}
--------------------------------
But even after many successful logins, doveadm reports 0 for all events:
metric_name field count sum min max avg median stddev %95...
2019 Jun 02
4
Stats/Metrics in 2.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Greetings,
So the changes to the stats modules between v2.2 and v2.3 have broken some
of my monitoring. I am attempting to use the new method of gathering
"metrics" from "events" - but the details in the documentation are a bit
thin.
I started with the examples provided at
https://wiki2.dovecot.org/Statistics and tried to
2020 Jan 26
0
Number of imap-login processes always keeps growing, never goes down
...eve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
metric imap_command_fetch_ok {
event_name = imap_command_finished
filter {
name = FETCH
tagged_reply_stat = OK
}
}
metric imap_command_list {
event_name = imap_command_finished
filter {
name = LIST
tagged_reply_state = OK
}
}
metric imap_command_search {
event_name = imap_command_finished
filter {
name = SEARCH
tagged_reply_s...
2019 Jul 11
0
Getting login stats
...event_name = auth_client_userdb_lookup_started
> }
>
> metric auth_client_passdb_lookup_started {
> event_name = auth_client_passdb_lookup_started
> }
>
> metric auth_client_cache_flush_started {
> event_name = auth_client_cache_flush_started
> }
>
> metric imap_command_finished {
> event_name = imap_command_finished
> filter {
> name = LOGIN
> }
> }
> --------------------------------
>
> But even after many successful logins, doveadm reports 0 for all events:
>
> metric_name field count s...
2020 Aug 22
2
Metric label values truncated when using OpenMetrics endpoint
Hi,
Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric like this:
metric imap_command {
event_name = imap_command_finished
group_by = cmd_name tagged_reply_state user remote_ip
}
And enabled the OpenMetrics listener like this:
service stats {
inet_listener http {
port = 5000
}
}
While the result is great, I noticed that some metrics are being truncated (three dots at the end of the label value):
dovecot_i...
2019 Aug 15
2
2.3.7 + stats
Is there any additional documentation/information around the new stats
module.
Have added some metrics just to see what they produce
##
## Metrics
###
metric imap {
??? event_name = imap_command_finished
??? #source_location = example.c:123
??? #categories =
??? fields = name args running_usecs bytes_in bytes_out
??? #filter {
??? #??? field_key = wildcard
??? #}
}
metric sql {
??? event_name = sql_query_finished
}
metric auth {
??? event_name = auth_request_finished
??? fields = user...
2018 May 30
2
Fatal: nfs flush requires mail_fsync=always
...>> lock_method = dotlock
>> mail_fsync = always
>> mail_location = maildir:/mnt/virtual_mail/%d/%n
>> mail_nfs_index = yes
>> mail_nfs_storage = yes
>> mail_plugins = quota
>> mailbox_list_index = no
>> metric imap_select_no {
>> event_name = imap_command_finished
>> filter {
>> name = SELECT
>> tagged_reply_state = NO
>> }
>> }
>> mmap_disable = yes
>> namespace inbox {
>> inbox = yes
>> location =
>> mailbox Drafts {
>> special_use = \Drafts
>> }
>> mail...
2018 Jan 19
1
Fatal: nfs flush requires mail_fsync=always
...uota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lock_method = dotlock
mail_fsync = always
mail_location = maildir:/mnt/virtual_mail/%d/%n
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota
mailbox_list_index = no
metric imap_select_no {
event_name = imap_command_finished
filter {
name = SELECT
tagged_reply_state = NO
}
}
mmap_disable = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox &q...
2020 Oct 29
2
dovecot replicator not replicating automatically?
..._notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date index ihave duplicate mime foreverypart extracttext
metric imap_command_finished {
? event_name = imap_command_finished
}
namespace {
? inbox = yes
? location =
? mailbox Archive {
??? auto = no
??? special_use = \Archive
? }
? mailbox Archives {
??? auto = no
??? special_use = \Archive
? }
? mailbox "Deleted Messages" {
??? auto = no
??? special_use = \...
2019 Aug 16
0
2.3.7 + stats
...ryant via dovecot <dovecot at dovecot.org> a ?crit :
>
> Is there any additional documentation/information around the new stats module.
>
> Have added some metrics just to see what they produce
>
> ##
> ## Metrics
> ###
>
> metric imap {
> event_name = imap_command_finished
> #source_location = example.c:123
>
> #categories =
>
> fields = name args running_usecs bytes_in bytes_out
>
> #filter {
> # field_key = wildcard
> #}
> }
>
> metric sql {
> event_name = sql_query_finished
> }
>
>...
2020 Aug 24
0
Metric label values truncated when using OpenMetrics endpoint
On Sat, Aug 22, 2020 at 00:31:36 +0000, Daan van Gorkum wrote:
> Hi,
>
> Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric
> like this:
>
>
> metric imap_command {
> event_name = imap_command_finished
> group_by = cmd_name tagged_reply_state user remote_ip
Grouping by remote_ip seems a bit dangerous unless the ips are somehow
limited. Each unique value will result in (permanent) memory allocation, so
this has the potential to slowly grow the stats process large enough that
the vsize limit...
2019 Nov 26
0
Shared Mailboxes
...ty = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environment mailbox date index ihave
duplicate mime foreverypart extracttext
mbox_write_locks = fcntl
metric imap_select_no {
event_name = imap_command_finished
fields = name
filter {
name = SELECT
tagged_reply_state = NO
}
}
namespace {
list = yes
location = maildir:/MailUsers/%u:INDEXPVT=/Mailusers/%u/shared/%%u
prefix = shared/%%u/
separator = /
subscriptions = yes
type = shared
}
namespace inbox {
inbox = yes
list = yes
lo...
2018 May 30
0
Fatal: nfs flush requires mail_fsync=always
...>> lock_method = dotlock
>> mail_fsync = always
>> mail_location = maildir:/mnt/virtual_mail/%d/%n
>> mail_nfs_index = yes
>> mail_nfs_storage = yes
>> mail_plugins = quota
>> mailbox_list_index = no
>> metric imap_select_no {
>>?? event_name = imap_command_finished
>>?? filter {
>>???? name = SELECT
>>???? tagged_reply_state = NO
>>?? }
>> }
>> mmap_disable = yes
>> namespace inbox {
>>?? inbox = yes
>>?? location =
>>?? mailbox Drafts {
>>???? special_use = \Drafts
>>?? }
>>?? mail...
2018 Jan 16
0
nfs flush requires mail_fsync=always
...uota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lock_method = dotlock
mail_fsync = always
mail_location = maildir:/mnt/virtual_mail/%d/%n
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota
mailbox_list_index = no
metric imap_select_no {
event_name = imap_command_finished
filter {
name = SELECT
tagged_reply_state = NO
}
}
mmap_disable = yes
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox &q...
2020 Aug 12
0
Dovecot v2.3.11.3 released
...the empty quoted string as local-part causes the lmtp
? service to crash.
* CVE-2020-12674: Dovecot's RPA mechanism implementation accepts
? zero-length message, which leads to assert-crash later on.
* Events: Fix inconsistency in events. See event documentation in
? https://doc.dovecot.org.
* imap_command_finished event's cmd_name field now contains "unknown"
? for unknown commands. A new "cmd_input_name" field contains the
? command name exactly as it was sent.
* lib-index: Renamed mail_cache_compress_* settings to mail_cache_purge_*.
? Note that these settings are mainly intended fo...
2020 Aug 12
0
Dovecot v2.3.11.3 released
...the empty quoted string as local-part causes the lmtp
? service to crash.
* CVE-2020-12674: Dovecot's RPA mechanism implementation accepts
? zero-length message, which leads to assert-crash later on.
* Events: Fix inconsistency in events. See event documentation in
? https://doc.dovecot.org.
* imap_command_finished event's cmd_name field now contains "unknown"
? for unknown commands. A new "cmd_input_name" field contains the
? command name exactly as it was sent.
* lib-index: Renamed mail_cache_compress_* settings to mail_cache_purge_*.
? Note that these settings are mainly intended fo...
2019 Sep 10
0
dovecot duplicate emails
...ty = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date index ihave duplicate mime foreverypart extracttext
mbox_lazy_writes = no
metric imap_commands {
? event_name = imap_command_finished
}
namespace inbox {
? inbox = yes
? location =
? mailbox Drafts {
??? special_use = \Drafts
? }
? mailbox Junk {
??? auto = subscribe
??? special_use = \Junk
? }
? mailbox Sent {
??? special_use = \Sent
? }
? mailbox "Sent Messages" {
??? special_use = \Sent
? }
? mailbox...
2019 Dec 04
2
v2.3.9 released
....conf.
- lda/lmtp: Invalid MAIL FROM addresses were rejcted too aggressively.
? Now mails from addresses with unicode characters are delivered, but
? their Return-Path header will be <> instead of the given MAIL FROM
? address.
- lmtp: The lmtp_hdr_delivery_address setting is ignored.
- imap: imap_command_finished event's "args" and "human_args" parameters
? were always empty.
- mbox: Seeking in zlib and bzip2 compressed input streams didn't work
? correctly.
- imap-hibernate: Process crashed when client got destroyed while it was
? attempted to be unhibernated, and the unhibernat...
2019 Dec 04
2
v2.3.9 released
....conf.
- lda/lmtp: Invalid MAIL FROM addresses were rejcted too aggressively.
? Now mails from addresses with unicode characters are delivered, but
? their Return-Path header will be <> instead of the given MAIL FROM
? address.
- lmtp: The lmtp_hdr_delivery_address setting is ignored.
- imap: imap_command_finished event's "args" and "human_args" parameters
? were always empty.
- mbox: Seeking in zlib and bzip2 compressed input streams didn't work
? correctly.
- imap-hibernate: Process crashed when client got destroyed while it was
? attempted to be unhibernated, and the unhibernat...
2020 Aug 25
2
Metric label values truncated when using OpenMetrics endpoint
...ct: Re: Metric label values truncated when using OpenMetrics endpoint
On Sat, Aug 22, 2020 at 00:31:36 +0000, Daan van Gorkum wrote:
> Hi,
>
> Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric
> like this:
>
>
> metric imap_command {
> event_name = imap_command_finished
> group_by = cmd_name tagged_reply_state user remote_ip
Grouping by remote_ip seems a bit dangerous unless the ips are somehow
limited. Each unique value will result in (permanent) memory allocation, so
this has the potential to slowly grow the stats process large enough that
the vsize limit...