prevent users_prefs in spamassassin?

Jenek

Verified User
Joined
Sep 3, 2003
Messages
9
Location
Belarus
in spamassassin/local.cf
allow_user_rules 0
doesn't work

also i commented the line in exim.conf
# {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \

but still SA use user's rules.
what is wrong?
FC3, SA 3.0
 
If you edit out that "exists" line in exim.conf, that will just cause exim to cause any message that matches the rest of the if statement to be sent through the spamcheck transport, so I think you've essentially enabled spamassassin for every domain.

allow_user_rules defaults to "off" so setting this to 0 doesn't change anything.

I think what you want is to add the "-x" or "--nouser-config" flag to spamd in /etc/init.d/exim (or however you're starting spamd).

See http://spamassassin.apache.org/full/3.0.x/dist/doc/spamd.html
 
Back
Top