[Spambayes] illegal header tanks SpamBayes

Bobby Wilkins hwilkins at harrahs.com
Fri Jul 11 14:46:14 EDT 2003


That is interesting.  Perhaps it is a red herring; perhaps all my messages have that string, and the actual error is elsewhere.  I mentioned it because it looked suspicious to me.  Having an idea what its origin is, I guess I need further help understanding why SpamBayes is failing on messages like the one below.  Here is the log-extract:

Moving and spam training message 'Get an Unsecured Platinum Card. No Credit Checks' -  FAILED to create email.message from:  'X-MS-Mail-Gibberish: Microsoft Mail Internet Headers Version 2.0\r\nReceived: from memex2.harrahs.org ([10.3.5.44]) by entcmail1.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:52 -0500\r\nReceived: from mail6.aswediscussed.com ([64.253.204.211]) by memex2.harrahs.org with Microsoft SMTPSVC(5.0.2195.5329);\r\n\t Fri, 11 Jul 2003 11:59:54 -0500\r\nReceived: from aswediscussed.com (192.168.1.8)\r\n  by mail6.aswediscussed.com with SMTP; 11 Jul 2003 12:59:53 -0400\r\nFrom: As We Discussed<584-2076846-unsubscribe at aswediscussed.com>\r\nTo: hwilkins at harrahs.com \r\nSubject: Get an Unsecured Platinum Card. No Credit Checks\r\nDate: Fri, 11 Jul 2003 10:56:27 -0400\r\nContent-Type: multipart/alternative;\r\n        boundary="= Multipart Boundary 2076846" \r\nX-Priority: 3 \r\nX-MSMail-Priority: Normal \r\nX-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)  \r\nX-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106  \r\nMime-Version: 1.0 \r\nReturn-Path: 584-2076846-unsubscribe at aswediscussed.com\r\nMessage-ID: <MEMEX2K5RVTZEnWiytX0000a463 at memex2.harrahs.org>\r\nX-OriginalArrivalTime: 11 Jul 2003 16:59:54.0239 (UTC) FILETIME=[D9AD58F0:01C347CD]\r\n\n<HTML>\r\n<HEAD>\r\n<TITLE></TITLE>\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=#FFFFFF>\r\n<table width=575 border=0 cellpadding=0 cellspacing=0 align="center">\r\n  <tr> \r\n    <td colspan=3> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7x_01.gif" width=575 height=91 alt="" border="0"></a></td>\r\n  </tr>\r\n  <tr> \r\n    <td colspan=3> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7x_02.gif" width=575 height=197 alt="" border="0"></a></td>\r\n  </tr>\r\n  <tr> \r\n    <td colspan=3> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat7_text_03.gif" width=575 height=104 alt="" border="0"></a></td>\r\n  </tr>\r\n  <tr> \r\n    <td rowspan=2> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7x_04.gif" width=286 height=99 alt="" border="0"></a></td>\r\n    <td> <img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7_arrow.gif" width=115 height=47 alt=""></td>\r\n    <td rowspan=2> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7x_06.gif" width=174 height=99 alt="" border="0"></a></td>\r\n  </tr>\r\n  <tr> \r\n    <td> <a href="http://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20="><img src="http://freeimagehosting.sendmebargains.com/platinum/usaplat_email7x_07.gif" width=115 height=52 alt="" border="0"></a></td>\r\n  </tr>\r\n</table>\r\n\r\n\r\n\r\n<img src="http://www.aswediscussed.com/o/o584o.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=" width="1" height="1" alt="" border="0">\r\n&nbsp;<br>&nbsp;<br><center><table bgcolor="#c0c0c0" width=575 border=0 cellpadding="1" cellspacing="2"><tr><td bgcolor="#efefef" align=center><font face=verdana size=1 color=black>To stop receiving offers <a href=\'http://www.aswediscussed.com/unsubscribe/?ea=hwilkins@harrahs.com\'><font face=verdana size=1 color=black>Go Here</font></a><font face=verdana size=1 color=black> or send mail to:<br>Unsubscribe Department<br>1730 S. Federal Hwy, Suite 116<br>Delray Beach, FL 33483</font></td></tr></table></center>\r\n</body>\r\n</html>\r\n\r\n--= Multipart Boundary 2076846-- \r\n\r\n\nCongratulations!  You have been selected to receive a \r\n$7500 unsecured Platinum Credit Card \r\nfrom USA Platinum! \r\n\r\nYour approval is guaranteed*.  \r\nSimply click on the link below to complete \r\nthe application\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThis offer is valid even if you\'ve had past credit problems or \r\neven no credit history.  Now you \r\ncan receive a $7,500 unsecured \r\nPlatinum Credit Card that can help build your credit.  And to help \r\nget your card to you sooner, we have been authorized to waive any \r\nemployment or credit verification.\r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nThat\'s right, now you can enjoy great merchandise while establishing \r\nyour credit because the \r\nUSA Platinum Credit Card reports your new \r\ncredit to the major credit bureaus. We can help you \r\nestablish your \r\ncredit while you purchase the items you want to have today! \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nYour approval is guaranteed*! Act now and claim your unsecured USA \r\nPlatinum Credit Card with a \r\nstarting $7500 credit limit today. \r\n\r\nhttp://www.aswediscussed.com/c/c584c.php?ea=aHdpbGtpbnNAaGFycmFocy5jb20=\r\n\r\nSincerely,\r\n\r\nYour New Offers Department\r\n\r\n(*see web site for qualifications)\r\n\r\n\r\nStop receiving offers:\r\nhttp://www.aswediscussed.com/unsubscribe/?ea=hwilkins@harrahs.com\r\n\r\n'
pythoncom error: Python error invoking COM method.
Traceback (most recent call last):
  File "out1.pyz/win32com.server.policy", line 275, in _Invoke_
  File "out1.pyz/win32com.server.policy", line 280, in _invoke_
  File "out1.pyz/win32com.server.policy", line 541, in _invokeex_
  File "out1.pyz/addin", line 384, in OnClick
  File "out1.pyz/train", line 46, in train_message
  File "out1.pyz/msgstore", line 681, in GetEmailPackageObject
  File "out1.pyz/email", line 52, in message_from_string
  File "out1.pyz/email.Parser", line 75, in parsestr
  File "out1.pyz/email.Parser", line 64, in parse
  File "out1.pyz/email.Parser", line 239, in _parsebody
  File "out1.pyz/email.Parser", line 75, in parsestr
  File "out1.pyz/email.Parser", line 62, in parse
  File "out1.pyz/email.Parser", line 111, in _parseheaders
email.Errors.HeaderParseError: Continuation line seen before first header

-----Original Message-----
From: Skip Montanaro [mailto:skip at pobox.com]
Sent: Friday, July 11, 2003 1:33 PM
To: Arnold, Paul
Cc: spambayes at python.org
Subject: RE: [Spambayes] illegal header tanks SpamBayes

I did a little more poking around
[...]
Piers had proposed inserting "X-MS-Mail-Gibberish: "
to the start of any message which began with the above string.  I don't see
it in the code base anywhere.  I don't know where you might be getting it.

The second hit was also a note from TimP about something else which happened
to contain X-MS-Mail-Gibberish in the message body.



More information about the Spambayes mailing list