Mailing List Archive

svn commit: r440107 - /spamassassin/trunk/build/automc/run_preflight
Author: jm
Date: Mon Sep 4 08:28:18 2006
New Revision: 440107

URL: http://svn.apache.org/viewvc?view=rev&rev=440107
Log:
turn off Bayes and AWL during preflight mass-checks

Modified:
spamassassin/trunk/build/automc/run_preflight

Modified: spamassassin/trunk/build/automc/run_preflight
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/automc/run_preflight?view=diff&rev=440107&r1=440106&r2=440107
==============================================================================
--- spamassassin/trunk/build/automc/run_preflight (original)
+++ spamassassin/trunk/build/automc/run_preflight Mon Sep 4 08:28:18 2006
@@ -68,6 +68,20 @@
print "lint passed.\n";
}

+# create the user_prefs file for the mass-check. Settings: turn off Bayes;
+# turn off the auto-whitelist.
+
+mkdir "spamassassin";
+open PREFS, ">spamassassin/user_prefs";
+print PREFS q{
+
+ use_bayes 0
+ use_auto_whitelist 0
+
+};
+close PREFS or die "cannot create 'spamassassin/user_prefs' file: $! $@";
+
+
# notes on this mass-check command:
#
# this is run in a chroot jail, just in case there's hostile rule code in