mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-06-09 19:10:54 +00:00
Switched spaces to tabs for indentation
Oops!
This commit is contained in:
parent
b519db2f77
commit
44bb9b2e81
@ -430,7 +430,7 @@ def check_primary_hostname_dns(domain, env, output, dns_domains, dns_zonefiles):
|
|||||||
else:
|
else:
|
||||||
output.print_error("""The DANE TLSA record for incoming mail (%s) is not correct. It is '%s' but it should be '%s'.
|
output.print_error("""The DANE TLSA record for incoming mail (%s) is not correct. It is '%s' but it should be '%s'.
|
||||||
It may take several hours for public DNS to update after a change."""
|
It may take several hours for public DNS to update after a change."""
|
||||||
% (tlsa_qname, tlsa25, tlsa25_expected))
|
% (tlsa_qname, tlsa25, tlsa25_expected))
|
||||||
|
|
||||||
# Check that the hostmaster@ email address exists.
|
# Check that the hostmaster@ email address exists.
|
||||||
check_alias_exists("Hostmaster contact address", "hostmaster@" + domain, env, output)
|
check_alias_exists("Hostmaster contact address", "hostmaster@" + domain, env, output)
|
||||||
@ -705,7 +705,7 @@ def query_dns(qname, rtype, nxdomain='[Not Set]', at=None):
|
|||||||
if isinstance(s, bytes):
|
if isinstance(s, bytes):
|
||||||
s = s.decode('utf-8')
|
s = s.decode('utf-8')
|
||||||
s = str(ipaddress.ip_address(s))
|
s = str(ipaddress.ip_address(s))
|
||||||
response_new.append(s)
|
response_new.append(s)
|
||||||
response = response_new
|
response = response_new
|
||||||
# END HOTFIX
|
# END HOTFIX
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user