• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved SpamAssassin daily update cron exited with return code 4

lordnikkon

New Pleskian
On all our systems there is a problem with the SpamAssassin update cron. This is the error message (received by eMail):
Code:
run-parts: /etc/cron.daily/60sa-update exited with return code 4

I found this solution but it didn't help
Code:
# wget http://spamassassin.apache.org/updates/GPG.KEY
# sa-update --import GPG.KEY

Any idea what's wrong?
 
What is the output of command:

/usr/bin/sa-update; echo $?
 
On our servers the same thing. I also tried your GPG.KEY snippet, but also don't work for us.
What is the output of command:
/usr/bin/sa-update; echo $?

config: warning: description exists for non-existent rule USER_IN_ALLOWLIST_TO
channel: lint check of update failed, channel failed
 
On all our systems there is a problem with the SpamAssassin update cron. This is the error message (received by eMail):
Code:
run-parts: /etc/cron.daily/60sa-update exited with return code 4

I found this solution but it didn't help
Code:
# wget http://spamassassin.apache.org/updates/GPG.KEY
# sa-update --import GPG.KEY

Any idea what's wrong?
This work not for me
 
The same with me!
Receive an email every day
Subject: Cron <root @ .....> test -x / usr / sbin / anacron || (cd / && run-parts --report /etc/cron.daily)
run-parts: /etc/cron.daily/60sa-update exited with return code 4

What I found out that it has to do with a missing certificate.
wget http://spamassassin.apache.org/updates/GPG.KEY - here is a mistake
but try that!
and then
# sa-update --import GPG.KEY
but error message remains!
 
The same on our machines:
Code:
config: warning: description exists for non-existent rule USER_IN_ALLOWLIST_TO
channel: lint check of update failed, channel failed
4
 
# rpm -qf /usr/bin/sa-update
spamassassin-3.4.0-5.el7_7.x86_64

# rpm -qi spamassassin | grep Vendor
Vendor : CentOS

As you can see, vendor of the affected package is CentOS. SpamAssassin Bug 7838 – sa-update failes with error message (warning) is marked as Fixed. So, we have to wait for CentOS package update with the included fix, I suppose.
 
Guys, CentOS was just an example. Of course, this applies to all operating systems for Plesk.
 
Back
Top