On Wed, May 9, 2007 10:10, BG Mahesh 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)?

'hardcore' words are not necessarily enough to determine that an item is
spam.

I suggest you start your testing with a real spam mail (and you can find
quite a lot of those in places like news.admin.net-abuse.sightings), using
the SpamAssassin command line interface.  Once you're happy that it scores
mail properly, feed the body plus your custom headers to the command line
interface.  Bear in mind that a good chunk of the SA rules check headers
for things like invalid timestamps, spam signs etc, so your effectiveness
may be crippled.

Reply via email to