You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris Stenton <ja...@gnome.co.uk> on 2004/08/06 17:21:02 UTC

MimeDefang 2.44 and SA 3.0

In mimedefang.pl I have had to add a LOCAL_RULES_DIR  to the SA call
otherwise init.pre and cf files other than sa-mimedefang.cf don't get
picked up. Anyone else had this problem?

Chris



+	my $LOCAL_RULES_DIR = '/etc/mail/spamassassin';  
+
	$SASpamTester = Mail::SpamAssassin->new({
	    local_tests_only   => $SALocalTestsOnly,
	    dont_copy_prefs    => 1,
	    userprefs_filename => $config,    
+	    LOCAL_RULES_DIR     => $LOCAL_RULES_DIR,