I noticed this tonight...

Tony Finch dot at DOTAT.AT
Wed Apr 2 14:34:34 IST 2003


Mike Kercher <mike at CAMAROSS.NET> wrote:
>
>Any other ideas?

This patch prevents SpamAssassin from copying the user preferences file
template into ~/.spamassassin

--- lib/MailScanner/SA.pm   27 Mar 2003 16:55:18 -0000      1.1.1.4
+++ lib/MailScanner/SA.pm   27 Mar 2003 17:28:47 -0000      1.8
@@ -73,7 +74,7 @@
   unless (MailScanner::Config::IsSimpleValue('usespamassassin') &&
           !MailScanner::Config::Value('usespamassassin')) {
     require Mail::SpamAssassin;
-    $settings{dont_copy_prefs} = 0;
+    $settings{dont_copy_prefs} = 1;
     $prefs = MailScanner::Config::Value('spamassassinprefsfile');
     $settings{userprefs_filename} = $prefs if defined $prefs;
     $val = MailScanner::Config::Value('debugspamassassin');

Tony.
--
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
WHITBY TO THE WASH: NORTHWEST 7, DECREASING 4 OR 5. SHOWERS, GRADUALLY DYING
OUT. GOOD, BUT MODERATE IN SHOWERS. ROUGH.



More information about the MailScanner mailing list