My simplified testcase is as follows. I have a message in mbox format saved as msg.3. continuum:~$ sa-learn --debug-level --mbox --ham < msg.3 ... debug: bayes: Learned '[EMAIL PROTECTED]'
cat msg.3 | sa-learn --debug-level --mbox --ham ... debug: bayes: Learned '[EMAIL PROTECTED]'
It looks like somehow the message ID header is being stripped in the second case...
Perhaps you should try to see if cat is modifying it. On some systems cat will wind up stripping certain non-printable characters. (Not that such charachters should be there.. however...)
cat msg.3 >msg.3.catted
md5sum msg3.*
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk