You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jason Marshall <ma...@spots.ab.ca> on 2005/05/26 20:55:46 UTC

RulesDuJour Best Practices

I confess, I've been using RDJ for at least a year now without really 
having any idea what i'm doing.  It downloads the new rules as it should, 
and spamassassin uses them, but I have some SARE rules that require the 
"Personal Rule" snippet to be added to the rules_du_jour script.

When a new rules_du_jour is released, it downloads it, and i have to 
manually add the "Personal Rule" snippets to the script again.

Is there a way to put those in the /etc/rulesdujour/config file so that 
they don't need to be re-added all the time?

Also, is the /etc/rulesdujour directory similar to /etc/mail/spamassassin 
whereby it will read all the files in that directory rather than just a 
specifically-named one?

Thanks...  Hopefully some of this makes sense...

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Jason Marshall, marshalj@spots.ab.ca. Spots InterConnect, Inc. Calgary, AB |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: RulesDuJour Best Practices

Posted by Chris Thielen <cm...@someone.dhs.org>.
Jason Marshall wrote:

>> Yes!  You should be able to add these directly to the config file in 
>> the same way you are (I believe) currently adding them to the 
>> built-in registry.
>
>
> Thanks, Chris, do they just get added to the bottom, or do they need 
> to be contained in some kind of $variable="" declaration?



Just add them to the bottom (copy and paste should work)

>
>> Nope, it looks for specifically named files.
>
>
> Cool, thanks.




Re: RulesDuJour Best Practices

Posted by Jason Marshall <ma...@spots.ab.ca>.
> Yes!  You should be able to add these directly to the config file in the same 
> way you are (I believe) currently adding them to the built-in registry.

Thanks, Chris, do they just get added to the bottom, or do they need to be 
contained in some kind of $variable="" declaration?

> Nope, it looks for specifically named files.

Cool, thanks.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Jason Marshall, marshalj@spots.ab.ca. Spots InterConnect, Inc. Calgary, AB |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: RulesDuJour Best Practices

Posted by Chris Thielen <cm...@someone.dhs.org>.
Jason Marshall wrote:

>
> When a new rules_du_jour is released, it downloads it, and i have to 
> manually add the "Personal Rule" snippets to the script again.
>
> Is there a way to put those in the /etc/rulesdujour/config file so 
> that they don't need to be re-added all the time?


Yes!  You should be able to add these directly to the config file in the 
same way you are (I believe) currently adding them to the built-in registry.

>
> Also, is the /etc/rulesdujour directory similar to 
> /etc/mail/spamassassin whereby it will read all the files in that 
> directory rather than just a specifically-named one?


Nope, it looks for specifically named files.

Chris