From ea4edbc159ee3796de93507ea376cd7c81a7d9c0 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sat, 4 Aug 2001 05:20:12 +0000 Subject: check(): Add `delayed' as a valid Action: to match on. --- Mailman/Bouncers/DSN.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mailman/Bouncers/DSN.py b/Mailman/Bouncers/DSN.py index 4dc6e6d3b..1ae0dbd1a 100644 --- a/Mailman/Bouncers/DSN.py +++ b/Mailman/Bouncers/DSN.py @@ -87,7 +87,10 @@ def check(msg): # Final-Recipient: addrs = [] for headers in blocks: - if headers.get('action', '').lower() not in ('failed', 'failure'): + # Should we treat delayed bounces the same? Yes, because if the + # transient problem clears up, they should get unbounced. + if headers.get('action', '').lower() not in ('failed', 'failure', + 'delayed'): # Some non-permanent failure, so ignore this block continue val = headers.get('original-recipient', -- cgit v1.2.3-70-g09d2