On Sat, 16 May 2009 04:56:48 -0400
Matt Kettler <mkettler...@verizon.net> wrote:

> Nicolas Letellier wrote:
> > Hello.
> >
> > I have a feu rules (whitelist_from and blacklist_from). I don't want to put 
> > them into my local.cf. 
> > Is that possible to "include" a file? For example, in my local.cf ("Include 
> > "/path/to/my/rules") and in /path/to/my/rules, I put all my rules.
> >   
> Well, you really shouldn't need to do this at the site config level. SA
> will read *.cf  from the site config directory, not just local.cf. So,
> if you need extra config files, just put them there and SA will read
> them (they will be parsed in alphabetical order).
> 
> There is an include directive, but this is really intended to be used at
> the user_prefs level, where only one file gets read.
> 
> See the "preprocessing options" section of man Mail::SpamAssassin::Conf
> or online:
> 
> http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#preprocessing_options
> 
> 
> > Other question: is possible to parse conf file, to detect syntax errors?
> >   
> spamassassin --lint
> 
> Normally it runs quietly, but if the parse fails, it will complain.
> 
> 

Thanks a lot for these informations.
I will not include my file, I will use a *.cf file and parse it with 
'spamassassin --lint'.


-- 
 -Nicolas.

Reply via email to