Michael Schmid wrote:
> Hi!I checked if SpamAssassin works with GTUBE. GTUBE was recognised... So
> far, so good.Then I added to one cf-File a Test like this:**********header   
> L_TO_ME   ToCc =~ /gord...@csse\.uwa\.edu\.au/describe  L_TO_ME   Email
> addressed to mescore     L_TO_ME   0.010**********Just added my E-Mail
> instead of the gorden e-mail. But then my e-mail adress is not recognised as
> a spam keyword by SpamAssassin. So it seems like this file is not
> included...How can I test if the *.cf-files are included? Is there another
> test I could perform???Is there any log or so where I can see if the
> *.cf-files are included?If I simply type for example "Viagra" into the
> subject, should this be enough to make SpamAssassin marking the
> mail?Thanks!Michael
>   

I don't see anything obviously wrong, but it would be much easier to
tell if the lines were broken properly.

If you are using spamd or amavisd, did you restart it after you made
your changes?

"spamassassin -D < testmsg.txt" will tell you which files are being
loaded (along with lots and lots of other debug stuff).

Spamassassin does not generally mark a mail as spam based on a single
rule, but you should see the rule hit in the message headers or in the
maillog.  I don't think there are any current rules that will catch the
word "Viagra" spelled correctly.  There are some that will catch it if
the spammer tries to use some creative misspellings.  For debugging
purposes, you can put this line into your local.cf or a user's
user_prefs file:

add_header all Report _REPORT_

This will cause a verbose report to be added to the headers of all
messages (it is normally only added to messages marked as spam).

-- 
Bowie

Reply via email to