I was trying to add a cron script to check a .learn-spam and .learn-ham folder periodically to train spamassassin.
I see that Virtualmin uses a per-mailbox configuration.
So I need to run sa-learn as the mailbox owner I guess, but that doesn’t work.
I know Usermin does reporting in some ways, what command does it use?
How can I run such a script?
The greatest thing would be to look for such folders on all mailboxes, so if a user creates those folders, they will be automatically checked…
Better yet, adding such a feature to Virtualmin would be even better