Custom Rule Location

2009-11-22 Thread rich...@buzzhost.co.uk
I think this may have been answered before, but I can't find it in the
archives.

Custom rules can be kept in /etc/spamassassin/whateva.cf files no
problem. I would like to keep some rules separate for maintenance, by
keeping rules I write in /etc/spamassassin/custom/, and some that
friends write in /home/customrulessa/.

Is there a way to include these locations into the rules path at all?





Re: Custom Rule Location

2009-11-22 Thread Benny Pedersen

On søn 22 nov 2009 17:00:37 CET, rich...@buzzhost.co.uk wrote


Is there a way to include these locations into the rules path at all?


sa-update already use includes

man sa-update

--
xpoint



Re: Custom Rule Location

2009-11-22 Thread rich...@buzzhost.co.uk
On Sun, 2009-11-22 at 17:10 +0100, Benny Pedersen wrote:
 man sa-update

Thanks, but all that says is making use of:

--updatedir

Will allow rules to be downloaded to a different directory. 

What I'm looking to do is have SA look in these directories in addition
to the default locations. I don't have a problem putting rules there
Benny. I have a problem getting SA to look there for them :-)




Re: Custom Rule Location

2009-11-22 Thread Alex
Hi,

 What I'm looking to do is have SA look in these directories in addition
 to the default locations. I don't have a problem putting rules there
 Benny. I have a problem getting SA to look there for them :-)

Are you talking about doing something like having myrules.cf in
/etc/mail/spamassassin, which contains something like this:

include /path/to/other/rules/ruleset1.cf
include /path/to/other/rules/ruleset2.cf
...

HTH,
Alex


Re: Custom Rule Location

2009-11-22 Thread rich...@buzzhost.co.uk
On Sun, 2009-11-22 at 14:17 -0500, Alex wrote:
 Hi,
 
  What I'm looking to do is have SA look in these directories in addition
  to the default locations. I don't have a problem putting rules there
  Benny. I have a problem getting SA to look there for them :-)
 
 Are you talking about doing something like having myrules.cf in
 /etc/mail/spamassassin, which contains something like this:
 
 include /path/to/other/rules/ruleset1.cf
 include /path/to/other/rules/ruleset2.cf
 ...
 
 HTH,
 Alex
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/*

I'm not sure I get if I can/cannot do this. It would make things tidier.
At the moment my rsync has to have a shed load of ignore clauses and I'm
thinking 'there has to be a better way?'



Re: Custom Rule Location

2009-11-22 Thread Martin Gregorie
On Sun, 2009-11-22 at 19:57 +, 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



SpamAssassin 3.3

2009-11-22 Thread LuKreme
Is there a roadmap for the release of SA 3.3? a best guess on when it might be 
released? A URL I should be reading instead of posting to the list?

-- 
Gods don't like people not doing much work. People who aren't busy all the time 
might start to think. --Small Gods



Re: SpamAssassin 3.3

2009-11-22 Thread Matt Kettler
LuKreme wrote:
 Is there a roadmap for the release of SA 3.3? 
   
Probably the best roadmap would be to look at the list of bugs assigned
against 3.3.0

https://issues.apache.org/SpamAssassin/buglist.cgi?query_format=advancedbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDversion=3.3.0

 a best guess on when it might be released? 
when it's done...

It shouldn't be too terribly long now before a beta is released, based
on reading some of the latest dev list traffic. However, exactly how
long that is depends a lot on how much free time the team has.
 A URL I should be reading instead of posting to the list?
   
You can always browse the dev list archives. There's often good tidbits
on there (and often lots of noise to.. but...)

http://mail-archives.apache.org/mod_mbox/spamassassin-dev/