You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert - eLists <li...@abbacomm.net> on 2007/07/06 01:54:19 UTC

10_default_prefs.cf file in 3.2.x branch

I have been trying to do a good deal of reading on the newer 3.2.x branch
etc.

10_default_prefs.cf

I came across this file in the docs and I am wondering how important it is
to the big picture on some of our ISP type installs

Ummmm I guess I spaced and just didn't see it if it was in the 3.1.x
branch...

I am investigating yet, it *appears* to override what I have in my local.cf

Would someone kindly point me to other *recommended* reading on the
importance of this file other than what I have found at this link

http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html

thanks and kind regards

 - rh



RE: 10_default_prefs.cf file in 3.2.x branch

Posted by Robert - eLists <li...@abbacomm.net>.
> No, it doesn't... Your local.cf gets parsed *AFTER* this file, so your
> local.cf overides 10_default_prefs.cf.
> 
> Note: for this to work 10_default_prefs.cf MUST NOT be in your
> /etc/mail/spamassassin. It belongs in /usr/share/spamassassin, as do ALL
> the rulefiles that come with SA. Only your site-specific customizations
> should be in /etc/mail/spamassassin.
snip
> My bigger question is, why not just let the SA installer install all
> this stuff? Why are you mucking about hand-installing the rules in the
> first place?

Matt,

I haven't moved anything no or ever.

Ummmm I am just dealing with having the hit report in my headers and I don't
want it there. I want it off.

I turned it on at one time and then I turned it off in local.cf

Ive upgraded from 3.1.7 to 3.1.8 to 3.2.1 and in 3.2.1 I am seeing the rules
hit report in my headers and I haven't figured out why when it is not on by
default (near as I can tell) and I have the configs for that commented out
since 3.1.8

Dunno

 - rh



Re: 10_default_prefs.cf file in 3.2.x branch

Posted by Richard Frovarp <Ri...@sendit.nodak.edu>.
Matt Kettler wrote:
>
> Note: for this to work 10_default_prefs.cf MUST NOT be in your
> /etc/mail/spamassassin. It belongs in /usr/share/spamassassin, as do ALL
> the rulefiles that come with SA. 
>   

Or in /var/lib/spamassassin/... after running sa-update

Re: 10_default_prefs.cf file in 3.2.x branch

Posted by Matt Kettler <mk...@verizon.net>.
Robert - eLists wrote:
> I have been trying to do a good deal of reading on the newer 3.2.x branch
> etc.
>
> 10_default_prefs.cf
>
> I came across this file in the docs and I am wondering how important it is
> to the big picture on some of our ISP type installs
>
> Ummmm I guess I spaced and just didn't see it if it was in the 3.1.x
> branch...
>
> I am investigating yet, it *appears* to override what I have in my local.cf
>   
No, it doesn't... Your local.cf gets parsed *AFTER* this file, so your
local.cf overides 10_default_prefs.cf.

Note: for this to work 10_default_prefs.cf MUST NOT be in your
/etc/mail/spamassassin. It belongs in /usr/share/spamassassin, as do ALL
the rulefiles that come with SA. Only your site-specific customizations
should be in /etc/mail/spamassassin.
> Would someone kindly point me to other *recommended* reading on the
> importance of this file other than what I have found at this link
>
> http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html

My bigger question is, why not just let the SA installer install all
this stuff? Why are you mucking about hand-installing the rules in the
first place?


RE: 10_default_prefs.cf file in 3.2.x branch

Posted by Robert - eLists <li...@abbacomm.net>.
> 
> Other way around.  These are the defaults, and anything you put in 
> local.cf will override the corresponding setting in this file.
> 
> SA processes all the files in the general SA directory -- 
> /usr/(local)/share/spamassassin, or 
> /var/lib/spamassassin/path/to/updated/rules -- then processes the 
> files in your local folder (usually /etc/mail/spamassassin)
> 
> As long as you leave 10_default_prefs.cf in its normal location, you 
> shouldn't have any problems.
> 
> --
> Kelson Vibber

Kelson,

Understood, thank you.

Ummmmmm thing is, I will have to review all the contents of that file and
what it is doing as I should not be getting any hit scoring reports in my
headers for ham or spam yet, unfortunately, I am...

And so far, my search has led me here...

 - rh


Re: 10_default_prefs.cf file in 3.2.x branch

Posted by Kelson <ke...@speed.net>.
Robert - eLists wrote:
> 10_default_prefs.cf
> 
> I came across this file in the docs and I am wondering how important it is
> to the big picture on some of our ISP type installs
> 
> Ummmm I guess I spaced and just didn't see it if it was in the 3.1.x
> branch...
> 
> I am investigating yet, it *appears* to override what I have in my local.cf

Other way around.  These are the defaults, and anything you put in 
local.cf will override the corresponding setting in this file.

SA processes all the files in the general SA directory -- 
/usr/(local)/share/spamassassin, or 
/var/lib/spamassassin/path/to/updated/rules -- then processes the files 
in your local folder (usually /etc/mail/spamassassin)

As long as you leave 10_default_prefs.cf in its normal location, you 
shouldn't have any problems.

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>