diff options
| author | bwarsaw | 2000-06-05 15:54:47 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-05 15:54:47 +0000 |
| commit | c2c6f9c24c7ea40a4a3eddf263093e586ae838ed (patch) | |
| tree | 842ff30c70e5b7d67582bd46f45071e0650c736a /Mailman/Bouncers/Smail.py | |
| parent | fb469cad2ba6040d9c942eeb62ba769ce365d585 (diff) | |
| download | mailman-c2c6f9c24c7ea40a4a3eddf263093e586ae838ed.tar.gz mailman-c2c6f9c24c7ea40a4a3eddf263093e586ae838ed.tar.zst mailman-c2c6f9c24c7ea40a4a3eddf263093e586ae838ed.zip | |
Netscape.py: Detects what appears to be Netscape Messaging Server 3.6
bounces. These look like DSN mime messages, but don't contain
-Recipient: headers. :(
Caiwireless, Catchall, DSN, Exim, Postfix, Qmail, Smail, Yahoo:
Changed process() API to take just the message object, since the
MailList object isn't really required. Modified Catchall to use
mm_cfg.DEFAULT_HOST_NAME in the one place where mlist.host_name was
used. This module's deprecated anyway so it shouldn't matter much.
BouncerAPI.py: Use the new bouncer.process() API. Also improve the
unit testing code a bit.
Diffstat (limited to 'Mailman/Bouncers/Smail.py')
| -rw-r--r-- | Mailman/Bouncers/Smail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Bouncers/Smail.py b/Mailman/Bouncers/Smail.py index 595c0c60b..56389a86c 100644 --- a/Mailman/Bouncers/Smail.py +++ b/Mailman/Bouncers/Smail.py @@ -27,7 +27,7 @@ endtag = '|------------------------- ' \ acre = re.compile(r'\s*address:\s*<(?P<addr>[^>]*)>') -def process(mlist, msg): +def process(msg): msg.rewindbody() # simple state machine # 0 = nothing seen yet |
