summaryrefslogtreecommitdiff
path: root/src/mailman/chains/headers.py
diff options
context:
space:
mode:
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)