notmuch/contrib/notmuch-deliver
2011-11-05 01:12:35 +02:00
..
m4 notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
numlib notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
src notmuch-deliver: Fix utter failure 2011-11-05 01:12:35 +02:00
.gitignore notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
autogen.sh notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
configure.ac notmuch-deliver: Use splice() if it's available 2011-11-05 01:12:35 +02:00
COPYING notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
Makefile.am notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
README.mkd notmuch-deliver: Fix copy/paste fail 2011-11-05 01:12:34 +02:00

About

notmuch-deliver is a maildir delivery tool.

Overview

notmuch-deliver is a maildir delivery tool for notmuch mail indexer. It reads from standard input, delivers the mail to the specified maildir and adds it to the notmuch database. This is meant as a convenient alternative to running notmuch new after mail delivery.

Usage

Here's a simple example for maildrop:

# Deliver local mail to $MAILDIR/.Local and add local tag.
if (/^From: root/:h)
{
  to "|notmuch-deliver -f -t local Local"
}

# Deliver lkml mail to $MAILDIR/.Lkml, add lkml tag and remove inbox tag.
if (/^List-Id: linux-kernel@vger.kernel.org/:h)
{
  to "|notmuch-deliver -f -t lkml -r inbox Lkml"
}

# Deliver the rest to $MAILDIR, adding personal tag
to "|notmuch-deliver -t personal"

Requirements

Contribute

Clone git://github.com/alip/notmuch-deliver.git.
Format patches are preferred. Either send a mail to me or poke me on IRC.
My personal e-mail address is alip@exherbo.org.
I'm available on IRC as alip on Freenode and OFTC.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.