Differences between revisions 1 and 2
Revision 1 as of 2005-03-22 05:46:47
Size: 966
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 2 as of 2009-09-20 23:16:46
Size: 966
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

How do I tell whether rules in my user_prefs file are active?

When SA is working well, the user_prefs file is referenced for parameters (such as Bayes on/off), score adjustments, blacklists, whitelists, and the like.

However, according to http://www.spamassassin.org/doc/Mail_SpamAssassin_Conf.html#privileged%20settings rules are not executed from user_prefs files unless a) the allow_user_rules setting allows this (rare), or b) you execute SA directly rather than through spamd/spamc.

To verify whether rules within user_prefs are executed, in that file create a rule like:

header    L_TO_ME   ToCc =~ /gordon\@csse\.uwa\.edu\.au/
describe  L_TO_ME   Email addressed to me
score     L_TO_ME   0.010

(Use your own email address instead of Gordon's.)

If the rules in your user_prefs file are active, this rule's name should fairly quickly be displayed in the SA headers of emails addressed to you.

UserPrefRuleTest (last edited 2009-09-20 23:16:46 by localhost)