mox/webadmin
Mechiel Lukkien 7f5e1087d4
admin: better handling of disabled mta-sts during self-check
if admin has disabled mta-sts for a domain, we still check for records &
policies, but won't mark it as error when they don't exist. we do now keep
warning that mta-sts isn't enabled, otherwise we would start showing a green
"ok".

this also fixes the mta-sts code returning ErrNoPolicy when mtasts.<domain>
doesn't exist. the dns lookup is done with the reguler "net" package dns lookup
code, not through adns, so we look for two types of DNSError's.

noticed a while ago when testing with MTA-STS while debugging TLS connection
issues with MS.
2024-11-24 13:30:29 +01:00
..
admin.go admin: better handling of disabled mta-sts during self-check 2024-11-24 13:30:29 +01:00
admin.html don't prevent the html pages to load a favicon, and provide one by default 2024-07-08 21:58:10 +02:00
admin.js for aliases, enable "public posting" by default when creating an alias 2024-11-10 22:25:08 +01:00
admin.ts for aliases, enable "public posting" by default when creating an alias 2024-11-10 22:25:08 +01:00
admin_test.go make tests pass with "go test -count n" with n > 1 2024-06-10 18:18:20 +02:00
api.json improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00
api.ts improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00