[Mimedefang] SA scores

Miha Verlic fluke at domenca.com
Tue Oct 17 01:47:21 EDT 2006


> X-Spam-Score: 2.25 (**) 
> BAYES_50,EXTRA_MPART_TYPE,HTML_IMAGE_ONLY_20,HTML_MESSAGE
> 
> Similiar message from spamassassin:
> 
> X-Spam-Status: Yes, score=10.8 required=5.0 
> tests=BAYES_50,EXTRA_MPART_TYPE,
>        HTML_IMAGE_ONLY_20,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,
>        SARE_GIF_ATTACH,SARE_GIF_STOX,TVD_FW_GRAPHIC_ID1,
>        TVD_FW_GRAPHIC_NAME_LONG,UNPARSEABLE_RELAY autolearn=no 

TVD_* rules are located in 80_additional.cf spamassassin configuration file

Plain "perl Makefile.PL, make, make install" only installs 10_* through 
60_* configuration files into /usr/share/spamassassin/, but when you run 
sa-update it downloads updates with 70_* and 80_* rulesets into 
/var/lib/spamassassin/3.001007/updates_spamassassin_org/. If you invoke 
spamassassin via shell, it will use both configuration directories, 
while mimedefang uses only /usr/share/spamassassin/.

I simply copied 
/var/lib/spamassassin/3.001007/updates_spamassassin_org/??_*.cf to 
/usr/share/spamassassin/ and TVD_* tests started working, but the right 
approach would probably be to include configuration file 
/var/lib/spamassassin/3.001007/updates_spamassassin_org.cf somewhere in 
configuration file that gets called by mimedefang.

--
Miha



More information about the MIMEDefang mailing list