At 04:14 PM 8/11/2003 +0200, Timothée HESPEL wrote:
hello
i want to add new rules but whenever i test the demonstration rule, it is "forgotten" by SA...
My rule is define in my user_prefs file and i tested is with spamassassin --lint...
Please help me...

If you are using spamd, by default ALL rules in user_prefs will be ignored.


Apparently the rules howto is missing this. I'll add it tonight, but I could swear I had it in there before.


To re-quote myself:


Read the manpage.. this is disabled by default in 2.55 for security paranoia reasons, at least when you're running spamd it is. If you add "allow_user_rules" to local.cf, then rules in user_prefs will be parsed.

The reason it's disabled is to prevent the possibility of a malicious non-root user from abusing the regexes to do evil things like open pipes, etc in the name of spamd. I don't think there's any direct holes in SA along these lines, but disabling it by default is a good paranoid stance to prevent possible exploits.






------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to