query a maildir's contents and print From info for use as a mutt query_command
C Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
PKGBUILD
README.md
mail-query.c

README.md

Mail Query

Query the contents of a Maildir for From: addresses. Print these addresses in the format expected by mutt as a query_command similar to abook --mutt-query foo

Installation

$ make
$ sudo make install

A PKGBUILD is present for Arch users.

Usage:

Add to your muttrc:

set query_command = "mail-query '%s' ~/Mail/INBOX"