From mboxrd@z Thu Jan 1 00:00:00 1970 From: bburky@bburky.com (Blake Burkhart) Date: Wed, 11 Jun 2008 20:47:26 -0500 Subject: [sup-talk] Comments from a new user and a question about spam Message-ID: <1213235070-sup-7881@ellipsis.bburky.com> First, I'd like to say that sup is great. I realized that it would be good to use a console email client would be simpler, less complicated, and just seemed cool a while back. However, I chose to try out mutt and it became a lot more complicated instead. Sup however, is fantastic. Not to complicated, all the features you need and still fairly simple to use. However, I can't find an easy way to deal with spam using sup. Before, I was moving any spam to a separate IMAP folder on the server and had a script running with cron that sent the entire spam folder to spamassassin's Bayesian training program, sa-learn, so it could learn it was spam. Afterwards, it moved the contents of the spam folder to the trash folder. Now, the script still runs and sup doesn't seem to have too much of a problem with email disappearing from it's mailbox other than needing to run "sup-sync --changed" on the spam mailbox. However, I now have no way to send any new messages to the IMAP spam folder so they are taught to the Bayesian filter because sup simply adds the spam label to messages to mark them as spam. I was wondering if there was anyway a ruby script could search for any messages with the spam label, get the filenames of the messages, move the messages to the other folder, run offlineimap to sync them over, and then run "sup-sync --changed" on the spam mailbox. However, I'm currently stil teaching my self ruby (for the purpose of learning Ruby on Rails) and I have no idea if there's anyway to access the files from inside sup. Of course if there's any easier way to move the messages with the spam label that would be nice too. Thanks -- Blake Burkhart