diff options
author | Mark Sapiro <mark@msapiro.net> | 2016-03-06 12:25:06 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2016-03-06 12:25:06 -0800 |
commit | 7ec3c9cbbb0bb8fa4b966a52c51a9c916b8e690e (patch) | |
tree | 886c8f4981f4fa2c4b90d5904d189a33a6a12c9e /Mailman | |
parent | 8f22ba21a32701d2efaac0b8b1a1c0a4522912b0 (diff) | |
download | mailman2-7ec3c9cbbb0bb8fa4b966a52c51a9c916b8e690e.tar.gz mailman2-7ec3c9cbbb0bb8fa4b966a52c51a9c916b8e690e.tar.xz mailman2-7ec3c9cbbb0bb8fa4b966a52c51a9c916b8e690e.zip |
Better logging of DMARC lookup DNS exceptions.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index f821f13a..37336e0d 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -1267,7 +1267,7 @@ def _DMARCProhibited(mlist, email, dmarc_domain): except DNSException, e: syslog('error', 'DNSException: Unable to query DMARC policy for %s (%s). %s', - email, dmarc_domain, e.__class__) + email, dmarc_domain, e.__doc__) return 'continue' else: # people are already being dumb, don't trust them to provide honest DNS |