[Mimedefang] SA scores

Mike Lambert lambert at jeol.com
Wed Oct 18 10:06:38 EDT 2006


Miha Verlic wrote:
>> 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/.

In spamassassin's Makefile.PL, LOCAL_STATE_DIR is set by macro on my system to "/var/lib/spamassassin". But in mimedefang.pl, LOCAL_STATE_DIR = '/var/lib'.

In mimedefang.pl, I changed LOCAL_STATE_DIR from '/var/lib' to '/var/lib/spamassassin'. Problem solved. YMMV.

-Mike




More information about the MIMEDefang mailing list