Deleting high score messages

Julian Field mailscanner at
Tue Apr 15 22:14:44 IST 2003

At 21:53 15/04/2003, you wrote:
>Tony Finch <dot at DOTAT.AT> wrote:
> >Denis Beauchemin <Denis.Beauchemin at USHERBROOKE.CA> wrote:
> >>
> >>I have many such lines in my spam.assassin.prefs.conf file and they work
> >>just fine.  I use them to assign high scores to hoaxes and I see many
> >>every day.
> >
> >You probably have allow_user_rules turned on somewhere.
>Actually that's wrong -- I had too much faith in the error messages.
>If you have some local rules in your spam.assassin.prefs.conf and you
>run MailScanner with debugging on you will see near the end of the
>startup messages:
>debug: Failed to parse line in SpamAssassin configuration, skipping:
>header   FROM_CRSID  From =~ /\d\d\@([a-z0-9-+]\.)?cam\.ac\.uk/
>However if you put an actual error in the file, you will see the
>following line *twice*, once near the start and once near the end:
>debug: Failed to parse line in SpamAssassin configuration, skipping:
>Which indicates that this patch would be appropriate:
>--- lib/MailScanner/ 4 Apr 2003 19:19:48 -0000       1.10
>+++ lib/MailScanner/ 15 Apr 2003 20:38:20 -0000
>@@ -129,7 +129,6 @@
>      # Need to delete lock file now or compile_now may never return
>      unlink $MailScanner::SA::SABayesLock;
>      $MailScanner::SA::SAspamtest->compile_now();
>-    $MailScanner::SA::SAspamtest->read_scoreonly_config($prefs);
>    }
>  }

I don't know about anyone else, but I'm getting a little lost here. Denis
puts rules and scores in spam.assassin.prefs.conf and says they work fine.
Tony says that it can't, which does rather contradict Denis's empirical
evidence. And removing the read_scoreonly_config() call will result in the
spam.assassin.prefs.conf file not being used at all, which surely can't be

So what version of this story is consistent with both Tony and Denis's
working setups?
And how is the spam.assassin.prefs.conf file supposed to be used?
Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list