-
Thanks for the report. Obviously the fix is going to be a little tougher than I first thought. I've
reverted the previous change.
2009-12-19 00:10:09 UTC by montanaro
-
Update. What I understood so far:
1) Spambayes 1.03 + mail 2.5.4 (from Python 2.3) -> no problem. This was the Debian Sarge setup.
2) Spambayes 1.04 + mail 2.5.4 (from Python 2.3) -> no problem.
3) Spambayes 1.03 + mail 3.0.2 (from Python 2.4) -> broken.
4) Spambayes 1.04 + mail 3.0.2 (from Python 2.4) -> broken. This is what happens on Debian Etch and Lenny.
5) Spambayes 1.1...
2009-12-18 19:51:41 UTC by alexratti
-
montanaro committed revision 3256 to the SpamBayes anti-spam SVN repository, changing 2 files.
2009-12-18 13:01:12 UTC by montanaro
-
OK, some more checks:
In "/usr/lib/python2.4/site-packages/", I can find the file "spambayes-1.1b1-py2.4.egg"
This egg was generated when installing from the source release (see previous comment). I had a look at its content and I can see your recent changes to "message.py":
def as_string(self, unixfrom=False, mangle_from_=False)...
2009-12-17 17:48:17 UTC by alexratti
-
I'm actually seeing this with sb_filter.py. To double-check, I just ran:
cat test-message.txt | sb_filter.py > take2.txt
diff -u test-message.txt take2.txt > take2.diff
I'm getting the same result. First "From" line is deleted.
which sb_filter.py
/usr/bin/sb_filter.py
This is what I have in sb_filter.py:
#!/usr/bin/python
# EASY-INSTALL-SCRIPT...
2009-12-17 17:12:22 UTC by alexratti
-
Alexandre, what SpamBayes tool demonstrates this problem? I tested the change using sb_filter.py. It seems you're seeing this with another one of the SpamBayes tools.
2009-12-17 16:50:12 UTC by montanaro
-
I clicked Submit too fast; I wanted to attach files for testing and now I can't. So I uploaded the files to:
http://alexandre.ratti.free.fr/sb/
To test, I first mailed myself a message with the command line "mail" utility. This message went through my system (procmail and clamav), but it was NOT filtered by spambayes (deactivated in .procmailrc).
Then I filter the message through...
2009-12-17 16:37:42 UTC by alexratti
-
I installed the SVN code to get around the From escaping problem discussed on these pages:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559977
https://sourceforge.net/tracker/?func=detail&aid=2908573&group_id=61702&atid=498103
However, messages still get mangled by the latest SVN code (revision 3255): the first From header of a messages is stripped. As a result, messages stored in...
2009-12-17 16:22:18 UTC by alexratti
-
Thanks for the bug report. I checked in a fix to a couple support files (rev 3255) which will hopefully correct this problem.
2009-12-06 20:28:14 UTC by montanaro
-
montanaro committed revision 3255 to the SpamBayes anti-spam SVN repository, changing 2 files.
2009-12-06 19:36:06 UTC by montanaro