From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Thu, 12 Jun 2008 12:35:16 -0700 Subject: [sup-talk] Comments from a new user and a question about spam In-Reply-To: <1213235070-sup-7881@ellipsis.bburky.com> References: <1213235070-sup-7881@ellipsis.bburky.com> Message-ID: <1213298358-sup-5660@entry> Reformatted excerpts from Blake Burkhart's message of 2008-06-11: > 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. There's a tool call sup-sync-back which can remove spam-labeled messages from an mbox file, which is the or less what you want. Extending it to work with Maildir has been on the todo list a long time. I've added that as an official ditz issue: http://sup.rubyforge.org/ditz/issue-57668c69d0190d6e849309834d4ad1d215efa779.html -- William