Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Comments from a new user and a question about spam
@ 2008-06-12  1:47 Blake Burkhart
  2008-06-12 19:35 ` William Morgan
  0 siblings, 1 reply; 3+ messages in thread
From: Blake Burkhart @ 2008-06-12  1:47 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-15 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-12  1:47 [sup-talk] Comments from a new user and a question about spam Blake Burkhart
2008-06-12 19:35 ` William Morgan
2008-06-15 22:18   ` Blake Burkhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox