summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/MailList.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index d09ec81db..8d0e11c51 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -1268,6 +1268,9 @@ bad regexp in bounce_matching_header line: %s
for posting hold notifications, and serves only as a safety value for
mail loops with email 'bots.
"""
+ # No limit
+ if mm_cfg.MAX_AUTORESPONSES_PER_DAY == 0:
+ return 1
today = time.localtime()[:3]
info = self.hold_and_cmd_autoresponses.get(sender)
if info is None or info[0] <> today: