Hi all

i'm having a strange problem...

i'm trying to tune the spamassassim, but it's being hard...

i edit the /etc/spamassassim/loca.cf.tmpl with new tests/rules and 
score changes, but just restart the email services doesnt apply then, i
have to restart the endian... even after that, sometimes look like the
changes dont work, i have several new rules that get no hit when running
from the postfix+amavis.  for exemple, when running via the email system
on a spam email i get this:


 Content analysis details:   (18.1 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.1 EXTRA_MPART_TYPE       Header has extraneous Content-type:...type= entry
 1.1 HTML_IMAGE_ONLY_32     BODY: HTML: images with 2800-3200 bytes of words
 0.5 HTML_40_50             BODY: Message is 40% to 50% HTML
 0.0 HTML_MESSAGE           BODY: HTML included in message
 5.0 BAYES_99               BODY: Bayesian spam probability is 99 to 100%
                            [score: 1.0000]
 2.4 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
             [Blocked - see <http://www.spamcop.net/bl.shtml?156.110.115.106>]
 5.5 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL
                            [156.110.115.106 listed in sbl-xbl.spamhaus.org]
 1.4 UPPERCASE_75_100       message body is 75-100% uppercase
 1.2 GIF_ATTACH_1           One GIF attachment



when testing in the amavis user with 

spamassassin -t   </tmp/1

where /tmp/1 is the output of postcat -q (queue_id_of_the_above_email) i
get this:


Content analysis details:   (12.3 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 NO_RELAYS              Informational: message was not relayed via SMTP
 2.5 MISSING_HB_SEP         Missing blank line between message header and body
 0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
                            [score: 0.5000]
 1.8 MISSING_SUBJECT        Missing Subject: header
 7.5 SPAM_IMG_TAG_R2        Image tag used in spam
-0.0 NO_RECEIVED            Informational: message has no Received headers
 0.4 UPPERCASE_50_75        message body is 50-75% uppercase
 0.1 TO_CC_NONE             No To: or Cc: header


        sure that several things are different, but not that different, 
and the rule that i add, the SPAM_IMG_TAG_R2 show only on the manual test, 
never on the normal amavis+spamassassin usage... even simple rules doesnt
seem to work.. so:

-How can apply the changes to local.cf.tmpl without rebooting
-Does anyone know why this is happening? why rules work in a manual
test but not in normal usage
-how can i really test new rules, as seems that i'm doing something 
wrong...

thanks
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
           -- Hermann Goering, Nazi and war criminal, 1883-1946

Attachment: signature.asc
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to