[Spambayes] Perhaps a level header would be useful?

Tony Lownds tony-bayes at lownds.com
Tue Mar 11 17:18:50 EST 2003


>  > There may be some bugs lurking, I'm now getting
>>  "X-Spambayes-Classification: ham" in the body of my emails.
>
>I will check this ASAP.
>

This fixes it.

--- pop3proxy.py        11 Mar 2003 02:48:29 -0000      1.65
+++ pop3proxy.py        12 Mar 2003 01:10:36 -0000
@@ -503,7 +503,7 @@

              headers, body = re.split(r'\n\r?\n', messageText, 1)
              messageName = state.getNewMessageName()
-            headers += '\r\n%s: %s\r\n' % (options.hammie_header_name,
+            headers += '\n%s: %s\r\n' % (options.hammie_header_name,
                                             disposition)
              if command == 'RETR' and not state.isTest:
                  if options.pop3proxy_add_mailid_to.find("header") != -1:

>  > Also,
>>  this bit of code around line 163 in pop3proxy.py doesn't account for
>>  the extra possible headers.
>
>Drat.  Good spotting.  Will fix this too.

I think this bug is deeper :)

-Tony



More information about the Spambayes mailing list