mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 07:53:47 +03:00
7f5e1087d4
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. |
||
---|---|---|
.. | ||
dns.go | ||
dns_test.go | ||
examples_test.go | ||
ipdomain.go | ||
mock.go | ||
resolver.go |