On Tue, Dec 11, 2012 at 01:17:12PM -0500, [email protected] wrote: > > Great suggestion, thanks! The loadplugin line apparently has to go in > > spamassassin/local.cf to be used by mass-check. > > > > I've modified auto-mass-check.sh and re-started the weekly check. > > I'll report on timing results tomorrow. > > Could you give us that modified auto-mass-check.sh? That seems like > something that might be worth being able to activate with a command line > argument or something. Or maybe just uncommenting a chunk of code.
Sure, see attachments. This version enables the HitFreqsRuleTiming plugin for weekly mass checks. But see my other mail about my doubt whether the plugin actually does what I thought it was meant to do. ;) Regards, Marc
--- auto-mass-check.sh.orig 2012-08-17 13:28:06.000000000 +0200
+++ auto-mass-check.sh 2012-12-11 19:44:02.000000000 +0100
@@ -33,6 +33,9 @@
if [ -n "${INTERNAL_NETWORKS}" ]; then
echo "internal_networks ${INTERNAL_NETWORKS}" >> spamassassin/user_prefs
fi
+ if [ "$TYPE" = "weekly_mass_check" ]; then
+ echo "loadplugin HitFreqsRuleTiming $WORKDIR/$TYPE/masses/plugins/HitFreqsRuleTiming.pm" >> spamassassin/local.cf
+ fi
}
setup_checktype() {
auto-mass-check.sh
Description: Bourne shell script
