aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-03-06 12:25:06 -0800
committerMark Sapiro <mark@msapiro.net>2016-03-06 12:25:06 -0800
commit7ec3c9cbbb0bb8fa4b966a52c51a9c916b8e690e (patch)
tree886c8f4981f4fa2c4b90d5904d189a33a6a12c9e /Mailman
parent8f22ba21a32701d2efaac0b8b1a1c0a4522912b0 (diff)
downloadmailman2-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.py2
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