mox/tlsrpt
Mechiel Lukkien afb182cb14
smtpserver: add prometheus metric for failing starttls handshakes for incoming deliveries
and add an alerting rule if the failure rate becomes >10% (e.g. expired
certificate).

the prometheus metrics includes a reason, including potential tls alerts, if
remote smtp clients would send those (openssl s_client -starttls does).

inspired by issue #237, where incoming connections were aborted by remote. such
errors would show up as "eof" in the metrics.
2024-11-29 12:43:21 +01:00
..
alert.go smtpserver: add prometheus metric for failing starttls handshakes for incoming deliveries 2024-11-29 12:43:21 +01:00
alert_go120.go smtpserver: add prometheus metric for failing starttls handshakes for incoming deliveries 2024-11-29 12:43:21 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
examples_test.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
lookup.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
lookup_test.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00
parse.go when checking domain settings, check that dmarc & tls reporting addresses are present if there is a record 2023-11-10 20:25:06 +01:00
parse_test.go when checking domain settings, check that dmarc & tls reporting addresses are present if there is a record 2023-11-10 20:25:06 +01:00
report.go smtpserver: add prometheus metric for failing starttls handshakes for incoming deliveries 2024-11-29 12:43:21 +01:00
report_test.go change javascript into typescript for webaccount and webadmin interface 2023-12-31 12:05:31 +01:00