package mailscanner
tags 410148 +confirmed
thanks
Hello,
I have decided to change this behaviour to the old one.
I don't want to place a symbolic link into /etc/spamassassin because
this not part of the MailScanner package.
I have patched this in 4.55.10-4, but missed to apply a part of this
patch to 4.57.6.
Please try the following patch. This should enable the usage of
/etc/MailScanner/spamassassin.prefs.conf without the
/etc/spamassassin/mailscanner.cf link.
--- /usr/local/src/debian/mailscanner/upstream/MailScanner-install-4.57.6/perl-tar/MailScanner-4.57.6/lib/MailScanner/SA.pm 2006-06-06 19:03:43.000000000 +0200
+++ /usr/share/MailScanner/MailScanner/SA.pm 2007-02-08 13:49:40.000000000 +0100
@@ -94,9 +94,9 @@
unless (MailScanner::Config::IsSimpleValue('usespamassassin') &&
!MailScanner::Config::Value('usespamassassin')) {
$settings{dont_copy_prefs} = 1; # Removes need for home directory
- # This file is now read directly by SpamAssassin's normal startup code.
- #$prefs = MailScanner::Config::Value('spamassassinprefsfile');
- #$settings{userprefs_filename} = $prefs if defined $prefs;
+ # #399424 use /etc/MailScanner/spam.assassin.prefs.conf
+ $prefs = MailScanner::Config::Value('spamassassinprefsfile');
+ $settings{userprefs_filename} = $prefs if defined $prefs;
$val = $MailScanner::SA::Debug;
$settings{debug} = $val;
# for unusual bayes and auto whitelist database locations
--
Regards
Simon Walter