mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-30 06:34:12 +01:00
1.6 KiB
1.6 KiB
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
You may redistribute this under the same terms as notmuch itself.