On Tue, 1 Dec 2015, Filippo Carletti wrote:

2. verify everything it's working, SA runs with default rules from
/usr/share

Where did those default rules come from? SA *does not ship* with rules in
the install set.

$ rpm -qf /usr/share/spamassassin/50_scores.cf
spamassassin-3.4.1-8.el6.x86_64

(Note: a packager may add a static rules snapshot to the standard SA install
set; this might have been done by whoever packaged up the RPM.)

Right.
https://git.centos.org/blob/rpms!spamassassin/6c4364e0c267abccbafcaaa3ed79b2fe4d8e54b2/SPECS!spamassassin.spec;jsessionid=mc5igseasal0axkra6qhd4it
Line 229:
# Default rules from separate tarball
cd $RPM_BUILD_ROOT%{_datadir}/spamassassin/
tar xfvz %{SOURCE1}
sed -i -e 's|\@\@VERSION\@\@|%{saversion}|' *.cf

Are you saying that running sa-update without network access *deletes*
existing rules?

No. If the first time sa-update runs there's no network access, rules
are never downloaded.
"Never", because the centos cron job runs sa-update only if spamd or
amavisd are running (and they stop when there are no rules).

Ah, ok, that sounds like the problem to me: the RH/Centos sa-update cron job should not depend on whether or not spamd/amavisd are currently running.

I don't think this is a problem in base SA, it sounds more like a problem in the packaging addon code provided by RH/Centos.

Please, bear with me not being able to report the problem clearly.

Not a problem.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [email protected]    FALaholic #11174     pgpk -a [email protected]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Rights can only ever be individual, which means that you cannot
  gain a right by joining a mob, no matter how shiny the issued
  badges are, or how many of your neighbors are part of it.  -- Marko
-----------------------------------------------------------------------
 14 days until Bill of Rights day

Reply via email to