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
maildrop notmuch-deliver: Advance imported files to maildrop-2.5.2 release. 2011-11-05 01:12:35 +02:00
src notmuch-deliver: Don't read errno inappropriately. 2011-11-05 01:12:35 +02:00
.gitignore notmuch-deliver: update gitignore 2011-11-05 01:12:35 +02:00
.mailmap notmuch-deliver: Add mailmap 2011-11-05 01:12:35 +02:00
autogen.sh notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
configure.ac Move files copied from maildrop to a separate hierarchy. 2011-11-05 01:12:35 +02:00
COPYING notmuch-deliver: Initial import 2011-11-05 01:12:34 +02:00
Makefile.am Move files copied from maildrop to a separate hierarchy. 2011-11-05 01:12:35 +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.