On Monday 16 April 2007 09:27, Phil Dibowitz wrote: > I'm trying to use Mail::SpamAssassin::Client in my code, but I get very > different results using it than I do when I use spamc. > [...] > Here's the test spam: > > ------------------------------------ > Well done! > http://amcvuhwk.com/qeix/uopk.html | http://mtldkvuq.com/eojy/hyia.html > ------------------------------------ > > [EMAIL PROTECTED] tmp]$ cat /tmp/spam | spamc > X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on alt.home.pv > X-Spam-Level: ***** > X-Spam-Status: No, score=5.7 required=6.0 > tests=EMPTY_MESSAGE,MISSING_HB_SEP, ^^^^^^^^^^^^^^ > MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE > [...] > > [EMAIL PROTECTED] tmp]$ /tmp/test.pl > Score is 3.2 > Message was X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on > alt.home.pv > X-Spam-Level: *** > X-Spam-Status: No, score=3.2 required=6.0 > tests=EMPTY_MESSAGE,MISSING_HEADERS, > MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE autolearn=no
I'm not completely sure why the perl module doesn't trigger that rule, byt please try a test spam *with* a header. | describe MISSING_HB_SEP Missing blank line between message header and body -- Magnus Holmgren [EMAIL PROTECTED] (No Cc of list mail needed, thanks)
pgpwbU755cWGP.pgp
Description: PGP signature