is a shell script which reads a mail on stdin. It extracts the
contents of some header fields (default:
from the mail header (only addresses with a real name) and appends
R $HOME/.lbdb/m_inmail.list .
For performance issues
appends new addresses to this file without removing duplicates. To get
rid of duplicates, the program
exists, which is run by
if needed and removes duplicates.
To use this program, put the following lines into your
writes the actual date to the third column of the database by using
It uses "%Y-%m-%d %H:%M" as the default date format (e.g. "1999-04-29
14:33"). You can change this by using the
option to select a different date format string as parameter of
lbdb-fetchaddr command like
| lbdb-fetchaddr -d "%y-%m-%d"
which results in e.g. "99-04-29".
Print version number of lbdb-fetchaddr.
Print short help of lbdb-fetchaddr.
I -d dateformat
Use the given date format using
I -x headerfields
A colon separated list of header fields, which should be searched for
mail addresses. If this option isn't given, we fall back to
Also grab addresses without a real name. Use the local part of the
mail address as real name.
Most of the really interesting code of this program (namely, the RFC
822 address parser used by lbdb-fetchaddr) was stolen from Michael
Elkins' mutt mail user agent. Additional credits go to Brandon Long
for putting the query functionality into mutt.
The lbdb package was written by Thomas Roessler <email@example.com> and
is now maintained and extended by Roland Rosenfeld