mox/imapserver
Mechiel Lukkien 3620d6f05e
initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label
increase() and rate() don't seem to assume a previous value of 0 when a vector
gets a first value for a label. you would think that an increase() on a
first-value mox_panic_total{"..."}=1 would return 1, and similar for rate(), but
that doesn't appear to be the behaviour. so we just explicitly initialize the
count to 0 for each possible label value. mox has more vector metrics, but
panics feels like the most important, and it's too much code to initialize them
all, for all combinations of label values. there is probably a better way that
fixes this for all cases...
2023-09-15 16:47:17 +02:00
..
append_test.go add strict mode when parsing messages, typically enabled for incoming special-use messages like tls/dmarc reports, subjectpass emails 2023-08-15 08:25:56 +02:00
authenticate_test.go imap continuations must have a space after the "+" 2023-07-24 19:54:55 +02:00
condstore_test.go add webmail 2023-08-07 21:57:03 +02:00
copy_test.go improve training of junk filter 2023-02-11 23:00:12 +01:00
create_test.go mox! 2023-01-30 14:27:06 +01:00
delete_test.go only send \NonExistent for IMAP4rev2, and automatically subscribe to imported mailboxes 2023-02-17 18:35:11 +01:00
error.go for imap/smtp syntax errors, only echo the remaining buffer if the connection is authenticated 2023-03-10 11:32:34 +01:00
expunge_test.go mox! 2023-01-30 14:27:06 +01:00
fetch.go add webmail 2023-08-07 21:57:03 +02:00
fetch_test.go mox! 2023-01-30 14:27:06 +01:00
fuzz_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
idle_test.go imap continuations must have a space after the "+" 2023-07-24 19:54:55 +02:00
list.go mox! 2023-01-30 14:27:06 +01:00
list_test.go remove last remnants of treating a mailbox named "Sent" specially, in favor of special-use mailbox flags 2023-08-09 09:31:23 +02:00
lsub_test.go mox! 2023-01-30 14:27:06 +01:00
move_test.go mox! 2023-01-30 14:27:06 +01:00
pack.go add two new log levels for tracing sensitive auth protocol messages, and bulk data messages 2023-02-03 20:33:19 +01:00
parse.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
prefixconn.go mox! 2023-01-30 14:27:06 +01:00
protocol.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
protocol_test.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
rename_test.go fix bug in imapserver with rename of inbox, and add consistency checks 2023-06-30 17:19:29 +02:00
search.go implement decoding charsets (other than ascii and utf-8) while reading textual message parts, and improve search 2023-07-28 22:15:23 +02:00
search_test.go add webmail 2023-08-07 21:57:03 +02:00
selectexamine_test.go implement storing non-system/well-known flags (keywords) for messages and mailboxes, with imap 2023-06-24 00:24:43 +02:00
server.go initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label 2023-09-15 16:47:17 +02:00
server_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
starttls_test.go mox! 2023-01-30 14:27:06 +01:00
status_test.go improve message parsing: allow bare carriage return (unless in pedantic mode), allow empty header, and no longer treat a message with only headers as a message with only a body 2023-08-11 14:07:49 +02:00
store_test.go add webmail 2023-08-07 21:57:03 +02:00
subscribe_test.go mox! 2023-01-30 14:27:06 +01:00
unselect_test.go mox! 2023-01-30 14:27:06 +01:00
unsubscribe_test.go mox! 2023-01-30 14:27:06 +01:00
utf7.go mox! 2023-01-30 14:27:06 +01:00
utf7_test.go mox! 2023-01-30 14:27:06 +01:00