Latest release of Zimbra makes this easier! It's been a while since I visited this forum, but I though I'd post an update for the solution to my problem of last year ...
I decided it was time to update my Zimbra installations, and the latest release of Zimbra presented me with a nice surprise ... 'zmtrainsa' no longer requires the user password when asking it to look at messages. Now my shell script simply requires a list of user names to examine, so if the user changes his/her password it's not a problem.
The solution I still use is:
- Create two folders in each user's account when you add the user, one named "Is_SPAM" and one named "IsNot_SPAM". These are simply names chosen for their obvious function, so use any names you see fit.
- When a user encounters a message which should be sent to the trainer, he/she simply drags it into the appropriate folder.
- Each night a shell script runs through the list of usernames stored in a file, and runs zmtrainsa in spam mode and then ham mode, looking at the associated folder created above.
This method seems to work quite well, even though it requires a bit of effort up front. Users like it because it's a simple drag-and-drop operation for Outlook or Thunderbird or equivalent.
One small problem remains ... zmtrainsa no longer causes fetchmail to mark a file as 'read' after it examines it. This behavior seems to have crept into the latest release. Is there a parameter I can stuff in somewhere to cause messages to be marked as read?
Beyond this small glitch, I continue to be an extremely satisfied user of Zimbra.
__________________ {Lead me not into temptation ... I can find it myself, thank you} |