Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

How to check if SpamAssassin works

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


schmid at ecom-ch

Nov 17, 2009, 6:03 AM

Post #1 of 2 (493 views)
Permalink
How to check if SpamAssassin works

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 =~ /gordon\@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
--
View this message in context: http://old.nabble.com/How-to-check-if-SpamAssassin-works-tp26390428p26390428.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Bowie_Bailey at BUC

Nov 17, 2009, 6:22 AM

Post #2 of 2 (454 views)
Permalink
Re: How to check if SpamAssassin works [In reply to]

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 =~ /gordon\@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

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.