mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
fix changing domains.conf through admin with new MonitorDNSBLs present
by not clearing the existing derived info, we would detect duplicate domains and refuse the changed config.
This commit is contained in:
parent
df105a028c
commit
a9f11b8fa3
1 changed files with 1 additions and 0 deletions
|
@ -1617,6 +1617,7 @@ func prepareDynamicConfig(ctx context.Context, log mlog.Log, dynamicPath string,
|
|||
}
|
||||
}
|
||||
|
||||
c.MonitorDNSBLZones = nil
|
||||
for _, s := range c.MonitorDNSBLs {
|
||||
d, err := dns.ParseDomain(s)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue