Differences between spamassassin rules in MailScanner.conf
paddy
paddy at PANICI.NET
Thu Jan 6 15:31:26 GMT 2005
On Tue, Jan 04, 2005 at 02:13:04PM -0800, Matt Krause wrote:
> I am trying to figure out the difference between the following
> settings in the MailScanner.conf file?
>
> # The site rules are searched for here.
> # Normal location on most systems is /etc/mail/spamassassin.
> SpamAssassin Site Rules Dir = /etc/mail/spamassassin
>
> # The site-local rules are searched for here, and in prefix/etc/spamassassin,
> # prefix/etc/mail/spamassassin, /usr/local/etc/spamassassin, /etc/spamassassin,
> # /etc/mail/spamassassin, and maybe others.
> # If this is set then it adds to the list of places that are searched;
> # otherwise it has no effect.
> #SpamAssassin Local Rules Dir = /opt/MailScanner/etc/mail/spamassassin
> SpamAssassin Local Rules Dir =
>
> # The default rules are searched for here, and in prefix/share/spamassassin,
> # /usr/local/share/spamassassin, /usr/share/spamassassin, and maybe others.
> # If this is set then it adds to the list of places that are searched;
> # otherwise it has no effect.
> #SpamAssassin Default Rules Dir = /opt/MailScanner/share/spamassassin
> SpamAssassin Default Rules Dir =
first off,
man spamassassin
see the section CONFIGURATION FILES
But I think you may have a point here,
# egrep -i "spamassassin[a-z]*rules" `dpkg -L mailscanner`
/usr/share/MailScanner/MailScanner/ConfigDefs.pl:SpamAssassinSiteRulesDir
/usr/share/MailScanner/MailScanner/ConfigDefs.pl:SpamAssassinLocalRulesDir
/usr/share/MailScanner/MailScanner/ConfigDefs.pl:SpamAssassinDefaultRulesDir
/usr/share/MailScanner/MailScanner/ConfigDefs.pl:MCPSpamAssassinLocalRulesDir /etc/MailScanner/mcp
/usr/share/MailScanner/MailScanner/ConfigDefs.pl:MCPSpamAssassinDefaultRulesDir /etc/MailScanner/mcp
/usr/share/MailScanner/MailScanner/SA.pm: $val = MailScanner::Config::Value('spamassassinlocalrulesdir');
/usr/share/MailScanner/MailScanner/SA.pm: $val = MailScanner::Config::Value('spamassassindefaultrulesdir');
/usr/share/MailScanner/MailScanner/MCP.pm: $val = MailScanner::Config::Value('mcpspamassassinlocalrulesdir');
/usr/share/MailScanner/MailScanner/MCP.pm: $val = MailScanner::Config::Value('mcpspamassassindefaultrulesdir');
I can't see where the SpamAssassinSiteRulesDir variable is ever used,
although it may be employed in a way that is eluding my grep.
Julian?
Regards,
Paddy
--
Perl 6 will give you the big knob. -- Larry Wall
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list