Mailing List Archive

sa-update error 3 no mirrors.sought.rules.yerp.org
Hi,
I'm getting this from cron since two days:
channel: no 'mirrors.sought.rules.yerp.org' record found, channel failed
11-Mar-2021 05:46:59: SpamAssassin: Unknown error code 3 from sa-update
ls /var/lib/spamassassin/3.004000/
sought_rules_yerp_org
sought_rules_yerp_org.cf
updates_spamassassin_org
updates_spamassassin_org.cf
rm -rf /var/lib/spamassassin/3.004002/
and then
sa-update -D
gives no errors,
but when I try to run cron job it takes a long time and does not finish:
/usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log
 
Greetings,
atat [at] onet.eu
Re: sa-update error 3 no mirrors.sought.rules.yerp.org [ In reply to ]
Sought rules have been deprecated at least 5 years ago.
you can remove that part of the config.

h2h
Axb

On 3/12/21 1:16 PM, atat@onet.eu wrote:
> Hi,
> I'm getting this from cron since two days:
> channel: no 'mirrors.sought.rules.yerp.org' record found, channel failed
> 11-Mar-2021 05:46:59: SpamAssassin: Unknown error code 3 from sa-update
> ls /var/lib/spamassassin/3.004000/
> sought_rules_yerp_org
> sought_rules_yerp_org.cf
> updates_spamassassin_org
> updates_spamassassin_org.cf
> rm -rf /var/lib/spamassassin/3.004002/
> and then
> sa-update -D
> gives no errors,
> but when I try to run cron job it takes a long time and does not finish:
> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log
>
> Greetings,
> atat [at] onet.eu
>
Re: sa-update error 3 no mirrors.sought.rules.yerp.org [ In reply to ]
----- Message from atat@onet.eu ---------
Date: Fri, 12 Mar 2021 13:16:25 +0100
From: atat@onet.eu
Subject: sa-update error 3 no mirrors.sought.rules.yerp.org
To: users@spamassassin.apache.org


> Hi,
> I'm getting this from cron since two days:
> channel: no 'mirrors.sought.rules.yerp.org' record found, channel failed
> 11-Mar-2021 05:46:59: SpamAssassin: Unknown error code 3 from sa-update
> ls /var/lib/spamassassin/3.004000/
> sought_rules_yerp_org
> sought_rules_yerp_org.cf
> updates_spamassassin_org
> updates_spamassassin_org.cf
> rm -rf /var/lib/spamassassin/3.004002/
> and then
> sa-update -D
> gives no errors,
> but when I try to run cron job it takes a long time and does not finish:
> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log


The cron script contains a "sleep" function to randomise the time at
which clients hit the servers for updates. You are running into the
sleep when you run the script manually...

>  
> Greetings,
> atat [at] onet.eu


----- End message from atat@onet.eu -----

See https://cwiki.apache.org/confluence/display/SPAMASSASSIN/SoughtRules

"Update: this is no longer active, and should not be used."

You've not stated your OS but on a RHEL/CentOS 7 box the correct way
to remove is to go to /etc/mail/spamassassin/channel.d and delete
sought.conf.



--
Simon Wilson
M: 0400 12 11 16
Re: sa-update error 3 no mirrors.sought.rules.yerp.org [ In reply to ]
--On Sunday, March 14, 2021 1:23 PM +1000 Simon Wilson
<simon@simonandkate.net> wrote:

> You've not stated your OS but on a RHEL/CentOS 7 box the correct way to
> remove is to go to /etc/mail/spamassassin/channel.d and delete
> sought.conf.

RHEL bugzilla for the issue:

<https://bugzilla.redhat.com/show_bug.cgi?id=1938433>