On November 7, 2016 9:26:29 AM PST, Eric Abrahamsen <e...@ericabrahamsen.net> 
wrote:
>What a lot of people (including myself) do is have two IMAP folders
>learn/spam and learn/ham. When a message is incorrectly classified you
>put it in the right folder, then run sa-learn on a cron job, looking in
>the appropriate folder, then afterwards move the message to Junk or
>INBOX, depending.

I actually took this approach a little further. I have a script that monitors 
the learn-spam and learn-ham maildirs with inotify. As soon as a message is 
moved to those dirs, it gets learned and fed back to my sorting script. That 
way I don't have to do anything other than move to the learn dir.

--Sean



Reply via email to