Mailing List Archive

sa-update when were last updates made?
Hi Folks

newbie here.

centos / plesk, postfix, latest SA, run sa-update regularly

My files are showing October 2018 as last update date - this seems a bit old
to me.
can anyone confirm the dates of the last updates?

If im not getting them, I can delve deeper

thanks in advance.
Andy



--
Sent from: http://spamassassin.1065346.n5.nabble.com/SpamAssassin-Users-f3.html
Re: sa-update when were last updates made? [ In reply to ]
Reindl - thanks.

just checked and yes, i'm updated.
however...

i'm confused as to what rules are being used in preference...

The files in /var/lib/spamassassin/3.0014000/ are clearly todays update,
except for a directory sought_rules_yerp_org which is 18/10/2018

I note that I have a load of files in /usr/share/spamassassin that are all
dated 18-10-2018

my updated conf.cf with "report all" lives in /usr/share/spamassassin and is
seemingly working correctly.

so.. are the files in /usr/…. running in preference to the files in /var/…
and if so, how do I ensure the latest ones are used?

thanks for your patience.
Andy




--
Sent from: http://spamassassin.1065346.n5.nabble.com/SpamAssassin-Users-f3.html
Re: sa-update when were last updates made? [ In reply to ]
On 24.01.19 06:44, LegendGamesMaster wrote:
>The files in /var/lib/spamassassin/3.0014000/ are clearly todays update,
>except for a directory sought_rules_yerp_org which is 18/10/2018

afaik this project is unfortunately dead

>I note that I have a load of files in /usr/share/spamassassin that are all
>dated 18-10-2018

these are not to be updated, they were installed with SA and are only used
when you don't fetch newer in /var/...

>so.. are the files in /usr/…. running in preference to the files in /var/…
>and if so, how do I ensure the latest ones are used?

answer above.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
Re: sa-update when were last updates made? [ In reply to ]
On 24 Jan 2019, at 8:44, LegendGamesMaster wrote:

> Reindl - thanks.

Note that anything you get from H. Reindl in reply to messages on this
mailing list is not actually posted to the mailing list.

> just checked and yes, i'm updated.
> however...
>
> i'm confused as to what rules are being used in preference...
>
> The files in /var/lib/spamassassin/3.0014000/ are clearly todays
> update,

I hope that's a typo, because it can't be correct.

The name of that directory should be 3.004002 if you're running the
latest release of SA (v3.4.2.) It could be 3.004001 if you're one
release back.

> except for a directory sought_rules_yerp_org which is 18/10/2018

You should 'rm -rf sought_rules_yerp_org' because those rules are
obsolete and unsafe. The sa-update channel for them will not work with
v3.4.2 because the abandoned channel does not include the required hash
file or a valid signature file.

> I note that I have a load of files in /usr/share/spamassassin that are
> all
> dated 18-10-2018

Which is probably when you installed SA, implying that this SHOULD be
v3.4.2.

However, there normally won't be a "load of files" there, just 3. SA has
not put *.cf or *.pre files in that directory since v3.1.x. This could
be an anomaly in how your version of SA was built or it could be a
leftover from an ancient version that was never cleaned up and somehow
got touched recently. If those files are part of the SA distribution,
you can find which version they are for by looking for a
'require_version' line in them, generally near the top of the file.

> my updated conf.cf with "report all" lives in /usr/share/spamassassin
> and is
> seemingly working correctly.

That's a minor oddity.

Normally, the local config file lives in /etc/mail/spamassassin/ and is
named local.cf.
You should not add, remove, or change files in /usr/share/spamassassin,
because your package manager (on CentOS that would be yum & rpm) sees
that directory as belonging to the SA package and may do bad things when
updating.

Generally speaking, anything under /usr except for /usr/local/ should be
left alone if you use a distro-standard package manager and want to
avoid a battle with it that you will ultimately lose.

> so.. are the files in /usr/…. running in preference to the files in
> /var/…
> and if so, how do I ensure the latest ones are used?

It's complicated...

SA uses *MULTIPLE* directories for config and rules to allow for layers
of overrides. See
https://svn.apache.org/repos/asf/spamassassin/branches/3.4/README for
details.

You PROBABLY should merge any settings in your "conf.cf" into whatever
/etc/mail/spamassassin/local.cf is already there and remove
/usr/share/spamassassin/*.{cf,pre}.
Re: sa-update when were last updates made? [ In reply to ]
thanks for your info, sincerely, most helpful.
I will look into my setup over the next week or so, as its clearly a bit
weird!
a few typos in my message, which I corrected - my old eyes are in need of an
update too....



--
Sent from: http://spamassassin.1065346.n5.nabble.com/SpamAssassin-Users-f3.html