From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.13.12 with SMTP id z12cs1175808ebz; Sun, 3 Jan 2010 17:42:02 -0800 (PST) Received: by 10.224.85.139 with SMTP id o11mr10877672qal.237.1262569321905; Sun, 03 Jan 2010 17:42:01 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 17si27565939qyk.103.2010.01.03.17.42.01; Sun, 03 Jan 2010 17:42:01 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 57F461D78883; Sun, 3 Jan 2010 20:42:01 -0500 (EST) Received: from mail-pw0-f60.google.com (mail-pw0-f60.google.com [209.85.160.60]) by rubyforge.org (Postfix) with ESMTP id 2F92F18580F5 for ; Sun, 3 Jan 2010 20:41:49 -0500 (EST) Received: by pwj13 with SMTP id 13so11523024pwj.19 for ; Sun, 03 Jan 2010 17:41:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.7.10 with SMTP id 10mr14134699wag.90.1262569309308; Sun, 03 Jan 2010 17:41:49 -0800 (PST) Date: Sun, 3 Jan 2010 20:41:49 -0500 X-Google-Sender-Auth: f26b0ebbe99617ab Message-ID: <6c0c31751001031741t59b5352aifacb67dcf51ebd3b@mail.gmail.com> From: Scott Henson To: sup-talk Subject: [sup-talk] Moving messages between sources and generic auto labeling hook X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1744429553==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1744429553== Content-Type: multipart/alternative; boundary=0016e648afba2f877b047c4cd382 --0016e648afba2f877b047c4cd382 Content-Type: text/plain; charset=ISO-8859-1 Is it possible to have sup move messages between sources? I have only so much storage on my mail server (work related) and if I don't expire messages out of my inbox, I hit the limit on a regular basis. I have offlineimap syncing the email down to local maildirs. I would like to have sup move mails from the INBOX source to an archive source. Is this possible? It would be nice if the archive source was a group of sources according to year and month, but that would be gravy. I've found a python script that will do this for me on the Maildir, but I'm not sure what this will do to the sup index. Would I be able to do this on a nightly basis and then do a full rescan on the INBOX source and the archive sources? Would the messages keep their labels? My second question revolves around labeling. I see the before add hook is what is supposed to be used for labeling. Does everyone just write ruby in that hook or does someone have a simpler syntax for filtering that a generic before add hook that uses it? I'm thinking the simplest would be yaml, but this being ruby I would think creating a DSL for filtering would be pretty easy and make autolabeling an easier affair than writing straight ruby. Any help would be much appreciated. Thanks. -- Scott Henson --0016e648afba2f877b047c4cd382 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Is it possible to have sup move messages between sources? =A0I have on= ly so
much storage on my mail server (work related) and if I don&= #39;t expire messages
out of my inbox, I hit the limit on a regul= ar basis. =A0I have offlineimap
syncing the email down to local maildirs. =A0I would like to have sup = move
mails from the INBOX source to an archive source. =A0Is this= possible? =A0It
would be nice if the archive source was a group = of sources according to year
and month, but that would be gravy.

I've = found a python script that will do this for me on the Maildir, but I'm<= /div>
not sure what this will do to the sup index. =A0Would I be able t= o do this on
a nightly basis and then do a full rescan on the INBOX source and the<= /div>
archive sources? =A0Would the messages keep their labels?

My second question revolves around labeling. =A0I see the= before add hook is
what is supposed to be used for labeling. =A0Does everyone just write = ruby in
that hook or does someone have a simpler syntax for filte= ring that a generic
before add hook that uses it? =A0I'm thin= king the simplest would be yaml, but
this being ruby I would think creating a DSL for filtering would be pr= etty
easy and make autolabeling an easier affair than writing str= aight ruby.

Any help would be much appreciated. = =A0Thanks.

--
Scott Henson
--0016e648afba2f877b047c4cd382-- --===============1744429553== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============1744429553==--