Hi David,
I was able to disable checks defined in /var/lib/spamassassin by
making their score 0 in local.cf. That reduced the CPU usage a lot.
Rate-limiting isn't an option because my inbound servers receive mails
at a very high rate that incoming queue starts to increase
indefinitely.
But, after
If you want to disable specific rules from the standard rules kit
just set their score to zero in your local.cf config file.
A rule with a score of zero isn't run.
As the local.cf file is processed after the /var/lib/spamassassin contents
that's how to over-ride the standard rules in a way that w
John Hardin wrote:
> If you want to override the default behavior of SA to that degree, it's
> easier to change the config directory that SpamAssassin and spamd use
> with the -c option,
You mean -C (note capital). -c (lower-case) is to autocreate userprefs
files.
> so that none of the base r
> If you don't want to use the rules in the updates directory, why would you
> even need to run sa-update?
I wish I could. SpamAssassin dies with the message as below if I don't
run sa-update or move the directory '/var/lib/spamassassin'.
die "config: no rules were found! Do you need to run 'sa-
http://spamassassin.apache.org/full/3.3.x/doc/
All spamd options documented in:
http://spamassassin.apache.org/full/3.3.x/doc/spamd.txt
You'll have to go thru your .pre files to disable a bunch of plugins
Those rule hits your seeing now are very cheap and low scored.
On 09/16/2013 11:14 PM,
On Tue, Sep 17, 2013 at 1:58 AM, Kris Deugau wrote:
> John Hardin wrote:
>
>
> Key arguments for spamd are -C (to specify the "default" rules path
> (overrides and combines DEF_RULES_DIR and LOCAL_STATE_DIR) and
> --siteconfig for your "site" config (could probably be pointed somewhere
> empty but
On 09/16/2013 10:55 PM, Abhijeet Rastogi wrote:
If you don't want to use the rules in the updates directory, why would you
even need to run sa-update?
I wish I could. SpamAssassin dies with the message as below if I don't
run sa-update or move the directory '/var/lib/spamassassin'.
die "config
That's because SA no longer ships with rules in the source kit.
First thing you do after a new install is run sa-update to download
a set of rules and those go into a seperate directory.
Do this:
spamassassin --lint -D 2>&1 | grep dir
And you should see things like:
Sep 16 14:21:39.457 [27354
On Tue, 17 Sep 2013, Abhijeet Rastogi wrote:
If you don't want to use the rules in the updates directory, why would you
even need to run sa-update?
I wish I could. SpamAssassin dies with the message as below if I don't
run sa-update or move the directory '/var/lib/spamassassin'.
die "config:
On 9/16/2013 4:55 PM, Abhijeet Rastogi wrote:
If you don't want to use the rules in the updates directory, why would you
even need to run sa-update?
I wish I could. SpamAssassin dies with the message as below if I don't
run sa-update or move the directory '/var/lib/spamassassin'.
die "config: n
On 9/16/2013 4:19 PM, Abhijeet Rastogi wrote:
Hi Dave,
Thanks for the revelation. This clears a lot of things now. After I
disabled all the tests in 50_scores.cf, I was still seeing a lot of
CPU (a very heavily loaded server). This pretty much clears
everything.
You guys have been of commendabl
Hi Dave,
Thanks for the revelation. This clears a lot of things now. After I
disabled all the tests in 50_scores.cf, I was still seeing a lot of
CPU (a very heavily loaded server). This pretty much clears
everything.
You guys have been of commendable help. One last thing, so is there a
way or a h
Hi John,
I'm sure you're pretty clear on explaining it but as a newbie I'm
facing issues. My concern still exists. I could see loglines like:
Sep 16 14:41:51.607 [3999] dbg: rules: ran header rule __HAS_SENDER
==> got hit: ""
Sep 16 14:41:51.606 [3999] dbg: rules: ran header rule __HAS_TO
===
On Mon, 2013-09-16 at 23:50 +0530, Abhijeet Rastogi wrote:
> Hi John,
>
> Did a
>
> $grep -inr __HAS_SENDER ./
>
> in the source. No hits, what-so-ever.
>
In my installation its in:
/var/lib/spamassassin/3.003002/updates_spamassassin_org/10_hasbase.cf
Martin
On Mon, 16 Sep 2013, Abhijeet Rastogi wrote:
Problem is, how do I know that a certain rule like __RCVD_IN_NJABL is
a base rule for others?
The two leading underscores in the rule name indicate that the rule, by
itself, is not assigned a score, thus, by itself, does not affect the
overall sco
Hi John,
Did a
$grep -inr __HAS_SENDER ./
in the source. No hits, what-so-ever.
On Mon, Sep 16, 2013 at 11:37 PM, John Hardin wrote:
> On Mon, 16 Sep 2013, Abhijeet Rastogi wrote:
>
>> Hi John,
>>
>> I'm sure you're pretty clear on explaining it but as a newbie I'm
>> facing issues. My concern
On Mon, 16 Sep 2013, Abhijeet Rastogi wrote:
Hi John,
I'm sure you're pretty clear on explaining it but as a newbie I'm
facing issues. My concern still exists. I could see loglines like:
Sep 16 14:41:51.607 [3999] dbg: rules: ran header rule __HAS_SENDER
==> got hit: ""
Sep 16 14:41:51.606
Hi John,
Thanks for the reply. I could get the above said rule as a "meta" one.
Thanks for that. One more thing I was hoping you could help me with.
Can you explain as to what's the difference between rules under
"./rules" and under "./rulesrc/sandbox/" directory? The reason I want
to know this i
On Mon, 16 Sep 2013, Abhijeet Rastogi wrote:
Hi John,
Thanks for the reply. I could get the above said rule as a "meta" one.
Thanks for that.
Apologies if that came across as condescending, I was just trying to be
thorough.
One more thing I was hoping you could help me with.
Can you expl
Hi guys,
I've already gone though the link
http://spamassassin.1065346.n5.nabble.com/Obvious-Disabling-some-RBL-URIBL-checks-td57047.html
which talks briefly about it.
Problem is, how do I know that a certain rule like __RCVD_IN_NJABL is
a base rule for others?
On Mon, Sep 16, 2013 at 10:53 AM,
Hi all,
I wanted to disable few RBLs & while doing that I observed that if I
want to just disable spamhaus, I've to actually disable
"__RCVD_IN_ZEN" after disabling the other spamhaus related checks like
"check_rbl_sub"..
How do I know that __RCVD_IN_ZEN is related to a check like
"RCVD_IN_SBL"?
21 matches
Mail list logo