diff options
| author | bwarsaw | 2001-08-04 05:21:06 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-04 05:21:06 +0000 |
| commit | 3a91f37fdbc7ae32e19724fd5263a718fa331294 (patch) | |
| tree | c2cb34ecdfcd64eae987762ce237a9eabcab7598 | |
| parent | ea4edbc159ee3796de93507ea376cd7c81a7d9c0 (diff) | |
| download | mailman-3a91f37fdbc7ae32e19724fd5263a718fa331294.tar.gz mailman-3a91f37fdbc7ae32e19724fd5263a718fa331294.tar.zst mailman-3a91f37fdbc7ae32e19724fd5263a718fa331294.zip | |
process(): "Internet Mail Service" sure looks awfully similar. We
just need to not recognize lines that start with whitespace.
| -rw-r--r-- | Mailman/Bouncers/GroupWise.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Bouncers/GroupWise.py b/Mailman/Bouncers/GroupWise.py index d02babb81..564b58792 100644 --- a/Mailman/Bouncers/GroupWise.py +++ b/Mailman/Bouncers/GroupWise.py @@ -18,6 +18,7 @@ X-Mailer: Novell GroupWise Internet Agent 5.5.3.1 X-Mailer: NTMail v4.30.0012 +X-Mailer: Internet Mail Service (5.5.2653.19) """ import re @@ -57,6 +58,8 @@ def process(msg): addrs[mo.group('addr')] = 1 elif '@' in line: i = line.find(' ') + if i == 0: + continue if i < 0: addrs[line] = 1 else: |
