Andrea Bencini wrote:
>> Andrea Bencini wrote:
>>> I installed postfix-2.4.5-2.fc8, amavisd-new-2.5.2-2.fc8 and
>>> spamassassin-3.2.3-2.fc8.
>>> They are running.
>>> I would like to test spam changing "score" in local.cf.
>>> My local.cf is:

>>> score FREE_PORN 1000
>>> score LIVE_PORN 1100
>>>
>>> Now I send an e-mail where there are  the words "porno" and "sex" in the
>>> message body.
>>>

>>>
>>> Why there aren't  FREE_PORN and LIVE_PORN scores?
>>>
>> Did you restart amavis ?

> Yes I did.
> Andrea 

So two things come to mind:

a) the FREE_PORN pattern hits only when porn is preceded by "free "

     /\bfree (?:porn|xxx|adult)/i

The LIVE_PORN likewise requires "live " followed by 0 or 9 characters, 
followed by "sex" (or other).  See the patterns in 20_porn.cf, wherever 
that may reside on your system.

b) the local.cf is not in the correct location.  Use amavis debug-sa to 
see which local.cf spamassassin/amavis is using.

MrC

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to