• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Disable Sa-Learn and Spamtrain

Hi @IgorG

I moved the files but today the system is under load and with message delays, and the SA-LEARN and SPAMTRAIN appears again.
Any other solution to complete disable all spamtrain?

One command line from many that was running:
popuser 27268 0.0 0.1 27260 7112 ? R 11:39 0:00 /usr/bin/perl -T -w /usr/bin/sa-learn --spam --no-sync -L --dbpath /var/qmail/mailnames/linot.com.br/linot/.spamassassin -f /var/qmail/mailnames/.spamtrain/learn_msgs_1485163311

Thanks in advance.
 
But do you have file /etc/cron.daily/60sa-update again? It may be recreated after next Plesk update.
 
Hi @IgorG , the file is not present in /etc/cron.daily

There are a 50plesk, but it´s about a daily maintainance script. This plesk is version 12.5

plkes.JPG
 
Do you think I can insert an "exit 0" in sa-learn script to prevent execute the task or it´s not the right solution ;)
 
Do you think I can insert an "exit 0" in sa-learn script to prevent execute the task or it´s not the right solution ;)
You can try at least. But what about just removing SA with

# rpm -e spamassassin psa-spamassassin

?
 
Having some trouble with our current Plesk Onyx 17.5.3 (Stable) still daily running spamtrain and sa-learn.

Spamassassin is completely deinstalled.
Code:
rpm -e spamassassin psa-spamassassin
error: package psa-spamassassin is not installed

There is no /etc/cron.daily/60sa-update
Code:
ls /etc/cron.daily/
50plesk-daily  dmarc-report  logrotate  makewhatis.cron  mlocate.cron  prelink  readahead.cron  tmpwatch

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -l still shows ExecuteSpamtrain
Code:
CheckForUpdates
InstallUpdates
InstallSystemPackageUpdates
UpdateKeys
PleskUsage
Sitebuilder
MailUsage
ExecuteStatistics
ProcessAutoreports
OptimizeStatistics
AnalyseDomainStatistics
AnalyseClientStatistics
ExecuteSpamtrain
LoadCustomizations
UpdateApsCache
UpdateApsApplications
UpgradeExtensions
ExecuteGlCleaner
StoreProtectedConfigs
FileSharing
UpgradePanel
ExecuteWebStatistics
UpdateModSecurityRuleSet
AutoresponderEndDate
UpdatePhpCurlCertificates
CheckPostponedFeedback
ExecuteQuotacheck
BackupRestoreStats
ComposerSelfUpdate

How do i stop this ExecuteSpamtrain?
 
Back
Top