mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 21:34:38 +03:00
implement only monitoring dns blocklists, without using them for incoming deliveries
so you can still know when someone has put you on their blocklist (which may affect delivery), without using them. also query dnsbls for our ips more often when we do more outgoing connections for delivery: once every 100 messages, but at least 5 mins and at most 3 hours since the previous check.
This commit is contained in:
@ -708,6 +708,11 @@ and check the admin page for the needed DNS records.`)
|
||||
public.SMTP.DNSBLs = append(public.SMTP.DNSBLs, zone.Name())
|
||||
}
|
||||
|
||||
// Monitor DNSBLs by default, without using them for incoming deliveries.
|
||||
for _, zone := range zones {
|
||||
dc.MonitorDNSBLs = append(dc.MonitorDNSBLs, zone.Name())
|
||||
}
|
||||
|
||||
internal := config.Listener{
|
||||
IPs: privateListenerIPs,
|
||||
Hostname: "localhost",
|
||||
|
Reference in New Issue
Block a user