|OS type and version||CentOS Linux 7.9.2009|
|Package updates||All installed packages are up to date|
I assume that “Mark as spam and delete” first trains Spam-Assassin and then deletes the message. I believe I used to see a message that said something like “learned 1 token” when I used to do this individually on messages.
What I currently do is move all suspect emails into a separate folder and then select everything in the folder and hit “Mark as spam and delete”. I don’t get any “learned” message back.
Is there a way to run the “Mark as spam and delete” command on all messages in a folder using a Cron job? This would automate what I am currently doing manually.