mox/dns
Mechiel Lukkien 5b20cba50a
switch to slog.Logger for logging, for easier reuse of packages by external software
we don't want external software to include internal details like mlog.
slog.Logger is/will be the standard.

we still have mlog for its helper functions, and its handler that logs in
concise logfmt used by mox.

packages that are not meant for reuse still pass around mlog.Log for
convenience.

we use golang.org/x/exp/slog because we also support the previous Go toolchain
version. with the next Go release, we'll switch to the builtin slog.
2023-12-14 13:45:52 +01:00
..
dns.go give delivering to mx targets with underscores in name a chance of succeeding 2023-10-25 13:01:11 +02:00
dns_test.go give delivering to mx targets with underscores in name a chance of succeeding 2023-10-25 13:01:11 +02:00
ipdomain.go when logging email addresses with IDNA domain and/or special characters or utf8 in localpart, log both native utf8 form and form with escape localpart and ascii-only domain 2023-03-09 20:18:34 +01:00
mock.go do not lookup cname after looking up the txt for mta-sts, and follow cnames for mocks 2023-10-14 22:42:26 +02:00
resolver.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00