Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: config clarification

From: Lindsay Haisley <fmouse-sa(at)fmp.com>
Date: Sat Jun 30 2007 - 10:34:40 EDT


On Sat, 2007-06-30 at 07:07 -0400, Tom Allison wrote:
> For configuration options listed in perldoc Mail::SpamAssassin can I
> put the settings into local.cf?
>
> Mail::SpamAssassin::Conf says yes, but it doesn't say it applies to
> args for Mail::SpamAssassin->new();

According to the perldoc ....

           If none of "rules_filename", "site_rules_filename", "user-
           prefs_filename", or "config_text" is set, the "Mail::SpamAssassin"
           module will search for the configuration files in the usual
           installed locations using the below variable definitions which can
           be passed in.

           PREFIX
               Used as the root for certain directory paths such as:

                 '__prefix__/etc/mail/spamassassin'
                 '__prefix__/etc/spamassassin'

               Defaults to "/usr".

           DEF_RULES_DIR
               Location where the default rules are installed.  Defaults to
               "/usr/share/spamassassin".

           LOCAL_RULES_DIR
               Location where the local site rules are installed.  Defaults to
               "/etc/mail/spamassassin".

If your local.cf is in /etc/mail/spamassassin, then apparently the answer is yes. My undersanding is that everything in that directory gets read.

-- 
Lindsay Haisley       | "In an open world,    |     PGP public key
FMP Computer Services |    who needs Windows  |      available at
512-259-1190          |      or Gates"        | 
http://pubkeys.fmp.comhttp://www.fmp.com    |                       |
Received on Sat Jun 30 10:35:18 2007

This archive was generated by hypermail 2.1.8 : Sat Jun 30 2007 - 10:40:05 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library