diff options
author | Mark Sapiro <mark@msapiro.net> | 2018-11-28 12:03:48 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2018-11-28 12:03:48 -0800 |
commit | d03507def644416adf753098173220be6f75c137 (patch) | |
tree | eebbc55005d36568469a1f43103e08ed43978fb5 /Mailman | |
parent | 377a75049a8b1bccf352e1347e2c4a02e7dd6170 (diff) | |
download | mailman2-d03507def644416adf753098173220be6f75c137.tar.gz mailman2-d03507def644416adf753098173220be6f75c137.tar.xz mailman2-d03507def644416adf753098173220be6f75c137.zip |
Added recognition for non-compliant opensmtpd DSN Action: error.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Bouncers/DSN.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 = [] |