From de531332f7805fc943cfb46921c60ff6f3f8e740 Mon Sep 17 00:00:00 2001 From: Robert Horn Date: Tue, 15 May 2012 19:34:55 +2000 Subject: [PATCH] Using procmail to set tags --- 83/45b35b45505bcbdae67dc55fdebb32b9f3111d | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 83/45b35b45505bcbdae67dc55fdebb32b9f3111d diff --git a/83/45b35b45505bcbdae67dc55fdebb32b9f3111d b/83/45b35b45505bcbdae67dc55fdebb32b9f3111d new file mode 100644 index 000000000..5861c1ad4 --- /dev/null +++ b/83/45b35b45505bcbdae67dc55fdebb32b9f3111d @@ -0,0 +1,69 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 45D2C431FBD + for ; Mon, 14 May 2012 16:54:35 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id HE7kz+icdUHv for ; + Mon, 14 May 2012 16:54:34 -0700 (PDT) +X-Greylist: delayed 1177 seconds by postgrey-1.32 at olra; + Mon, 14 May 2012 16:54:34 PDT +Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) + by olra.theworths.org (Postfix) with ESMTP id C218E431FBC + for ; Mon, 14 May 2012 16:54:34 -0700 (PDT) +Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) + by l2mail1.panix.com (Postfix) with ESMTP id A86C117 + for ; Mon, 14 May 2012 19:34:57 -0400 (EDT) +Received: from quad.robs.office (panix1.panix.com [166.84.1.1]) + by mailbackend.panix.com (Postfix) with ESMTP id 3F71334959 + for ; Mon, 14 May 2012 19:34:56 -0400 (EDT) +From: Robert Horn +To: notmuch@notmuchmail.org +Subject: Using procmail to set tags +User-Agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-suse-linux-gnu) +Date: Mon, 14 May 2012 19:34:55 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 14 May 2012 23:54:35 -0000 + +Is it practical (and has anyone documented) using a procmail setup to +set initial tags for messages using notmuch? + +I've just started using emacs-notmuch to read mail, and I'm using a +system where I have procmail filters to bin mail by category into +folders. I can continue this using folder:value for searching, but one +reason notmuch interests me is the potential to do more. + +It's practical for me to assign potentially overlapping tags with a more +sophisticated procmail setup. Notmuch tags enable having multiple tags +on one email. + +I don't know enough about the procmail/notmuch process to see just how +to make this happen. I'm hoping that someone has already done something +similar. + +R Horn +rjhorn@alum.mit.edu + -- 2.26.2