diff options
| author | msapiro | 2006-06-11 20:23:31 +0000 |
|---|---|---|
| committer | msapiro | 2006-06-11 20:23:31 +0000 |
| commit | f2c48d46958e5454927f7252bf52d5dea39ed9ed (patch) | |
| tree | 3314eeb005db9d916dcbdf7d2d59417402f5f8fa /Mailman/Bouncers/SimpleWarning.py | |
| parent | 509cc1d74ce23aa8b97cd745bb88823d603b30af (diff) | |
| download | mailman-f2c48d46958e5454927f7252bf52d5dea39ed9ed.tar.gz mailman-f2c48d46958e5454927f7252bf52d5dea39ed9ed.tar.zst mailman-f2c48d46958e5454927f7252bf52d5dea39ed9ed.zip | |
Diffstat (limited to 'Mailman/Bouncers/SimpleWarning.py')
| -rw-r--r-- | Mailman/Bouncers/SimpleWarning.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Bouncers/SimpleWarning.py b/Mailman/Bouncers/SimpleWarning.py index 733994eb6..405aa9029 100644 --- a/Mailman/Bouncers/SimpleWarning.py +++ b/Mailman/Bouncers/SimpleWarning.py @@ -37,6 +37,18 @@ patterns = [ (_c('The address to which the message has not yet been delivered is'), _c('No action is required on your part'), _c(r'\s*(?P<addr>\S+@\S+)\s*')), + # This is from MessageSwitch. It is a kludge because the text that + # identifies it as a warning only comes after the address. We can't + # use ecre, because it really isn't significant, so we fake it. Once + # we see the start, we know it's a warning, and we're going to return + # Stop anyway, so we match anything for the address and end. + (_c('This is just a warning, you do not need to take any action'), + _c('.+'), + _c('(?P<addr>.+)')), + # Symantec_AntiVirus_for_SMTP_Gateways - see comments for MessageSwitch + (_c('Delivery attempts will continue to be made'), + _c('.+'), + _c('(?P<addr>.+)')), # Next one goes here... ] |
