summaryrefslogtreecommitdiff
path: root/src/mailman/chains/headers.py
diff options
context:
space:
mode:
authorAurélien Bompard2016-02-18 10:11:23 +0100
committerBarry Warsaw2016-02-29 21:52:13 -0500
commit65459448ee6da85878159e0ad1c8f556c1bd617e (patch)
treefa5f96634b708f6fe64e7740d2e793f98482a1b4 /src/mailman/chains/headers.py
parentac2fdda2b90f0dcea205f494751335fcc93cddc5 (diff)
downloadmailman-65459448ee6da85878159e0ad1c8f556c1bd617e.tar.gz
mailman-65459448ee6da85878159e0ad1c8f556c1bd617e.tar.zst
mailman-65459448ee6da85878159e0ad1c8f556c1bd617e.zip
Diffstat (limited to 'src/mailman/chains/headers.py')
-rw-r--r--src/mailman/chains/headers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/chains/headers.py b/src/mailman/chains/headers.py
index dd5cd1be0..d3db30b23 100644
--- a/src/mailman/chains/headers.py
+++ b/src/mailman/chains/headers.py
@@ -151,7 +151,8 @@ class HeaderMatchChain(Chain):
# Then return all the list-specific header matches.
for entry in mlist.header_matches:
if entry.action is None:
- chain = None
+ # Default to the default antispam chain.
+ chain = config.antispam.jump_chain
else:
chain = entry.action.name
yield make_link(entry.header, entry.pattern, chain)