mox/smtpserver
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
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.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
dnsbl.go mox! 2023-01-30 14:27:06 +01:00
dsn.go in DSNs, add a References header pointing to the message with deliverability issues 2023-07-23 17:56:39 +02: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
fuzz_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
limitwriter.go mox! 2023-01-30 14:27:06 +01:00
mx.go mox! 2023-01-30 14:27:06 +01:00
parse.go for submission over IPv6, allow missing "IPv6" tag in ip address (unless in pedantic mode) 2023-07-22 14:20:50 +02:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
rejects.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
reputation.go add flag to ruleset that indicates a message is forwarded, slightly modifying how junk analysis is done 2023-08-09 22:31:37 +02:00
reputation_test.go add webmail 2023-08-07 21:57:03 +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 add flag to ruleset that indicates a message is forwarded, slightly modifying how junk analysis is done 2023-08-09 22:31:37 +02:00