On Thu, 22 Jun 2017, Curtis NPC wrote:
On 2017-06-22 17:07:37 +0000, RW said:
On Thu, 22 Jun 2017 09:58:16 -0700
Curtis NPC wrote:
> Sorry to ask a novice / RTFM question(s), but....
>
> So I'm running spamassassin with amavis. As I understand spamassissin
> should not be running as a daemon, but is run as needed by amavis. At
> least so it seems to work.
>
> I added some rules to:
>
> /etc/spamassassin/65_debian.cf
>
> and they work. But then I tweeked them and the changes are not being
> applied. Is there some command I need to run so that spamassisin
> konws about the rule change?
did you restart amavis
No. I didn't think that somehow it reloaded spamassassin rules. Did that now.
SA is not "run as needed" by Amavis. Amavis (which runs as a daemon)
actually imports the SA code and uses it directly. So if you're running
Amavis you *are* running SA as a daemon, just not as the "spamd" daemon.
Amavis does need to be restarted any time the rules are changed.
> Also, so every day I run the command:
>
> sa-learn --showdots -D 1 --spam --dir ./
>
> against specific spam directory. It seems to be getting better and
> better every day. However, just the other day I ran some scripts for
> updating some spamassassin rules, after which I always run:
>
> spamassassin --lint
>
> Now spam seems to be getting though again, like the previous learning
> it had was wiped and started over. Is it just a coincidence?
It has nothing to do with your Bayes learning.
The SA project's rule masscheck/score generation system was rebuilt due to
hardware issues recently, and we appear to be having some problems with
score generation - lots of previously higher-scoring rules are now not
getting a score assigned and are thus defaulting to only one point. I'd
suggest this is why you're suddenly seeing more spam get through.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Vista: because the audio experience is *far* more important than
network throughput.
-----------------------------------------------------------------------
84 days since the first commercial re-flight of an orbital booster (SpaceX)