On Sun, 2009-11-22 at 19:57 +0000, rich...@buzzhost.co.uk wrote:

> Almost, I'm looking to have SA to include one or two extra directories
> where one or many <ruleset>.cf files may be:
>
> include /path/to/other/custom_rules_johndoe/*
> include /path/to/other/custom_rules_janedoe/*
> 
If you're not already using the  SA/spamd --virtual-config-dir option I
think you should be able to use that to specify one additional place to
look for .cf files:

--virtual-config-dir=/path/to/other/custom_rules_janedoe

It usually has substitution parameters, e.g. %u for the user name, in
the path it specifies but there seems to be nothing to say that it MUST
have them. I'd say its worth a try, anyway. If it works the main
drawback is likely to be a speed penalty since my guess is that SA will
treat it like userprefs and parse the files in it before each message is
scanned.


Martin

Reply via email to