[Mailman-Developers] Serious qrunner problem with mailman 2.0b4
Barry A. Warsaw
bwarsaw@beopen.com
Tue, 1 Aug 2000 13:44:24 -0400 (EDT)
>>>>> "NM" == Nigel Metheringham <Nigel.Metheringham@VData.co.uk> writes:
NM> I twiddled Yahoo.py slightly but couldn't quite see the
NM> problem, so finally removed it from the Bounce API stuff, and
NM> the queue then unblocked itself.
It's possible the message had no From: header. Here's a patch.
-Barry
-------------------- snip snip --------------------
Index: Yahoo.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Bouncers/Yahoo.py,v
retrieving revision 1.4
diff -u -r1.4 Yahoo.py
--- Yahoo.py 2000/06/05 15:54:47 1.4
+++ Yahoo.py 2000/08/01 17:42:08
@@ -28,7 +28,7 @@
def process(msg):
# yahoo bounces seem to have a known subject value and something called an
# x-uidl header, the value of which seems unimportant
- if string.lower(msg.get('from')) <> 'mailer-daemon@yahoo.com':
+ if string.lower(msg.get('from', '')) <> 'mailer-daemon@yahoo.com':
return None
msg.rewindbody()
addrs = []