I've read this link about getting zmtrainsa to process all messages in the junk folder, not just those marked as junk from the web UI.
I was planning on using the following script to do this for me:
Then, I looked at the zimbra crontab. There is a line which calls zmtrainsa with a --cleanup option 45 minutes after the spam training starts. What does --cleanup do, and what happens if it takes more than 45 minutes for spam training?
for i in `zmprov gaa mydomain.com`
/opt/zimbra/bin/zmtrainsa $i spam Junk >> /opt/zimbra/log/spamtrain.log
If I am forcing spam training to happen on all messages, do I have to force a cleanup as well?
This is my first Zimbra install. I have to say, I'm really impressed!