LuKreme wrote: > > I would like to add a score in user_prefs based on the To header (I have an > email that collects several email addresses and I want to add some > spamishness indicators). > > Does the user_prefs understand the same syntax as the local.cf file? And what > would be the best way to say: > > If the to field is u...@example.com add 1.0 top the spam score > > header __TO_EXAMPLE To =~ /user\@example.com/ > score __TO_EXAMPLE 1.0
If you want to put full rules in user_prefs files, you'll need to set allow_user_rules in the main configuration. man Mail::SpamAssassin::Conf and scroll down to the "RULE DEFINITIONS AND PRIVILEGED SETTINGS" section. -kgd