Has anyone worked out a system so that each user has "learn spam" "learn ham" folders in IMAP? What I would like is to for users to be able to drag a spam message into one of these folders and for sa_learn to be called.
I've found various cron job solutions that would monitor these folders, but that sounds like a PITA to implement for a lot of domains. I was hoping there was something more callback-style that was implemented in dovecot or postfix that would fire off sa_learn when the either of the "learn" folders was called.
Optionally, it would be cool that after you dropped it into the "learn ham" folder it would strip off the spamassassin junk and drop it back into your inbox.
Has anyone done this yet under virtualmin?