mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-20 02:52:11 +00:00
Use get_mail_domains instead of get_dns_zones
This commit is contained in:
parent
5af89a2956
commit
4968f3dc10
@ -25,7 +25,7 @@ def get_web_domains(env, include_www_redirects=True, exclude_dns_elsewhere=True)
|
||||
domains |= set('www.' + zone for zone, zonefile in get_dns_zones(env))
|
||||
|
||||
# add the required subdomains for MTA-STS
|
||||
domains |= set('mta-sts.' + zone for zone, zonefile in get_dns_zones(env))
|
||||
domains |= set('mta-sts.' + zone for zone in get_mail_domains(env))
|
||||
|
||||
if exclude_dns_elsewhere:
|
||||
# ...Unless the domain has an A/AAAA record that maps it to a different
|
||||
|
Loading…
Reference in New Issue
Block a user