Before you can enable the Warden training cron task you must remove the legacy Plesk training scripts. On AlmaLinux / CloudLinux / RHEL / Rocky Linux use the command
yum remove psa-spamassassinand on Debian/Ubuntu use the commandapt remove psa-spamassassin
Training domains - training_domains
The domains to use for Bayes training. Select "all" for all domains.
Default: all
Train spam - train_spam
Train from read mail in the users spam folder as spam.
Default: 1
Train junk - train_junk
Train from read mail in the users junk folder as spam.
Default: 1
Train ham - train_ham
Train from read mail in the users inbox as ham.
Default: 1
Training max size - training_max_size
Skip messages larger than this size (in KB). Defaults to 500 KB, Use 0 for no limit.
Default: 500
Training max days - training_max_days
The number of days of mail to include in training. High volume servers should use a shorter value to limit the amount
of mail that is trained each training interval.
Default: 1
Training interval - training_interval
How often to do the training.
Default: daily
Training hour - training_hour
The hour of day to do training.
Default: 1
Training day of week - training_day_of_week
The day of week to do training (used in weekly training).
Default: 0 (Sun)
Training day of month - training_day_of_month
The day of the month to do training (used in monthly training).
Default: 1