Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: bburky@bburky.com (Blake Burkhart)
Subject: [sup-talk] Comments from a new user and a question about spam
Date: Wed, 11 Jun 2008 20:47:26 -0500	[thread overview]
Message-ID: <1213235070-sup-7881@ellipsis.bburky.com> (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


             reply	other threads:[~2008-06-12  1:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12  1:47 Blake Burkhart [this message]
2008-06-12 19:35 ` William Morgan
2008-06-15 22:18   ` Blake Burkhart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1213235070-sup-7881@ellipsis.bburky.com \
    --to=bburky@bburky.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox