mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
Log MX records that will not be configured.
This commit is contained in:
@@ -125,7 +125,9 @@ class PostfixConfigGenerator(MTAConfigGenerator):
|
|||||||
for address_domain, properties in all_acceptable_mxs.items():
|
for address_domain, properties in all_acceptable_mxs.items():
|
||||||
mx_list = properties.accept_mx_domains
|
mx_list = properties.accept_mx_domains
|
||||||
if len(mx_list) > 1:
|
if len(mx_list) > 1:
|
||||||
print "Lists of multiple accept-mx-domains not yet supported, skipping ", address_domain
|
print "Lists of multiple accept-mx-domains not yet supported."
|
||||||
|
print "Using MX %s for %s" % (mx_list[0], address_domain)
|
||||||
|
print "Ignoring: %s" % (', '.join(mx_list[1:]))
|
||||||
mx_domain = mx_list[0]
|
mx_domain = mx_list[0]
|
||||||
mx_policy = self.policy_config.get_tls_policy(mx_domain)
|
mx_policy = self.policy_config.get_tls_policy(mx_domain)
|
||||||
entry = address_domain + " encrypt"
|
entry = address_domain + " encrypt"
|
||||||
|
|||||||
Reference in New Issue
Block a user