Deleting high score messages

Tony Finch dot at DOTAT.AT
Tue Apr 15 22:49:30 IST 2003


Julian Field <mailscanner at ECS.SOTON.AC.UK> wrote:
>
>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
>right.

If you look at SpamAssassin::init (called from compile_now) you'll
see that it loads the userprefs file along with the rest of the
configuration. (I didn't see this earlier.) At this time additional rules
*are* accepted. MailScanner then calls read_scoreonly_config which loads
the userprefs file a second time, but this time rules are not accepted
and it reports errors in debug mode (which fooled me). This second step
is redundant.

Tony.
--
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
LYME REGIS TO LANDS END INCLUDING THE ISLES OF SCILLY: EAST OR SOUTHEAST 3 OR
4, BECOMING SOUTHEAST 4, LOCALLY 5 IN WEST. MOSTLY FAIR PERHAPS AN ISOLATED
SHOWER. GOOD SEA STATE: SLIGHT, LOCALLY MODERATE.



More information about the MailScanner mailing list