SpamAssassin Must Learn From Marking As Spam/Not Spam (via Webmail or IMAP)
As also discussed here: https://forums.cpanel.net/threads/how-to-train-spamassassin-with-sa-learn.655075/post-2929289 as of v104 cPanel is introducing https://docs.cpanel.net/changelogs/104-change-log/ this feature: Fixed case CPANEL-40670: Update cpanel-roundcubemail to 220.127.116.11-3.cp11102.
which means users can mark emails as spam or not spam via Roundcube on webmail to 'train' their SpamAssassin.
However, most users of hosting accounts don't use webmail and use IMAP (or even POP3) to manage their emails.
This feature request is to trigger sa-learn and train SpamAssassin when an email is moved to and from Junk folder via IMAP, and regardless of it being via Roundcube or not. OR, if too resource-heavy and expensive to do the sa-learn on every move, it can be an automated scheduled job that runs, but to be a default configurable feature under Tweak Settings just like many other ones with default behaviour toggled on.
POP3 is probably beyond the control and visibility of cPanel so not sure what can be done there really.