From d03507def644416adf753098173220be6f75c137 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 28 Nov 2018 12:03:48 -0800 Subject: Added recognition for non-compliant opensmtpd DSN Action: error. --- Mailman/Bouncers/DSN.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Mailman/Bouncers') diff --git a/Mailman/Bouncers/DSN.py b/Mailman/Bouncers/DSN.py index 701617db..b316c696 100644 --- a/Mailman/Bouncers/DSN.py +++ b/Mailman/Bouncers/DSN.py @@ -56,7 +56,8 @@ def check(msg): # Some MTAs have been observed that put comments on the action. if action.startswith('delayed'): return Stop - if not action.startswith('fail'): + # opensmtpd uses non-compliant Action: error. + if not (action.startswith('fail') or action.startswith('error')): # Some non-permanent failure, so ignore this block continue params = [] -- cgit v1.2.3