[Mimedefang] SA scores

Philip Goisman goisman at physics.arizona.edu
Wed Oct 18 16:58:07 EDT 2006


	Date: Wed, 18 Oct 2006 10:06:38 -0400
	From: Mike Lambert <lambert at jeol.com>
	Subject: Re: [Mimedefang] SA scores
	To: mimedefang at lists.roaringpenguin.com

	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



	------------------------------

	Date: Wed, 18 Oct 2006 10:17:22 -0400
	From: "David F. Skoll" <dfs at roaringpenguin.com>
	Subject: Re: [Mimedefang] SA scores
	To: mimedefang at lists.roaringpenguin.com

	Mike Lambert wrote:

	> 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'.

	We should file a bug with SpamAssassin, because there is *no way* to
	determine the proper value for LOCAL_STATE_DIR unless you can get
	the output of spamassassin's configure script.

	Regards,

	David.

Why not make LOCAL_STATE_DIR = '/usr/share/spamassassin'?  The directory
"/var/lib/spamassassin" does not exist on my system - rhel4.

Philip



More information about the MIMEDefang mailing list