mox/mox-
Mechiel Lukkien 7e54280a9d
show the same spf record for a domain in the dnsrecords and dnscheck output/pages
before, the suggested records would show "v=spf1 mx ~all", while the dnscheck
page would suggest "v=spf1 ip4:... ip6:... -all".

the two places now show the same record: explicitly listing the configured ip's
(so the common case of a valid message is fast and doesn't require lookups of
mx hosts and their addresses), but still including "mx" (may prevent issues
while migrating to new ips in the future and doesn't hurt for legit messages),
and "~all" (for compatibility with some old systems that don't look at
dkim/dmarc when they evaluate spf and reach "-all")

based on #176 created by rdelaage, with record mismatch spotted by RobSlgm,
thanks!
2024-06-28 14:50:39 +02:00
..
admin.go show the same spf record for a domain in the dnsrecords and dnscheck output/pages 2024-06-28 14:50:39 +02:00
cid.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
config.go improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00
dir.go mox! 2023-01-30 14:27:06 +01:00
dkimsign.go expose fewer internals in packages, for easier software reuse 2023-12-14 15:39:36 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
fill.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
forkexec_unix.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
forkexec_windows.go fix build for windows 2024-01-01 16:08:50 +01:00
ip.go mox! 2023-01-30 14:27:06 +01:00
lastknown.go mox! 2023-01-30 14:27:06 +01:00
lifecycle.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00
lifecycle_test.go make tests pass with "go test -count n" with n > 1 2024-06-10 18:18:20 +02:00
limitauth.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
localserve.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
lookup.go add aliases/lists: when sending to an alias, the message gets delivered to all members 2024-04-24 19:15:30 +02:00
msgid.go fix bug with concurrent math/rand.Rand.Read 2023-11-09 17:17:26 +01:00
rand.go don't expose functions on the prng that aren't mutex-protected 2024-03-07 10:05:35 +01:00
recvid.go mox! 2023-01-30 14:27:06 +01:00
safeheaders.go improve http request handling for internal services and multiple domains 2024-05-11 11:13:14 +02:00
sleep.go mox! 2023-01-30 14:27:06 +01:00
tlsrecv.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
webappfile.go show goversion and goos/goarch on admin page 2024-03-11 08:58:40 +01:00