To ensure all is working okay, why not take a existing SPAM message and construct the $message from that and test ?
On Wed, 9 May 2007 14:40:52 +0530, "BG Mahesh" <[EMAIL PROTECTED]> wrote: > On 5/9/07, Duncan Hill <[EMAIL PROTECTED]> wrote: >> >> On Wed, May 9, 2007 09:36, BG Mahesh wrote: >> >> > We have tested this on http://cause.greynium.com/spamtest.php >> > We have constructed a Mail header, concatenating $message to $header > and >> > passing the contents of $header to the code given above. >> > >> > We have installed the script from rulesemporium to update the cf > files. >> > >> > What could we be missing? >> >> Are you saying something isn't working? >> >> > > The content should be reported as Spam. The score (when I run from command > line is just about 1.0 and required is 5.0). The text in $message have > very > hardcore words. Shouldn't it be marked as spam? > > Are we formating the header correctly (i.e. each line is ending with \n)? > > regards, > > -- > -- > B.G. Mahesh > http://www.greynium.com/ > http://www.oneindia.in/ > http://www.click.in/ - Free Indian Classifieds > > -- > This message has been scanned for viruses and dangerous content by > MailScanner, and is > believed to be clean. -- --[ UxBoD ]-- // PGP Key: "curl -s http://www.splatnix.net/uxbod.asc | gpg --import" // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8 // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8 // Phone: +44 (0) 845 869 2749 SIP: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.