NAME
smingest
—
import emails into a sqlite
database
SYNOPSIS
smingest |
dbpath |
DESCRIPTION
smingest
reads a sequence of path to emails from
standard inputs and inserts them into the
msearchd(8) sqlite3 database at dbpath.
EXAMPLES
To index all the messages in the ~/Mail/smarc maildir, useful to initially populate the database:
mlist ~/Mail/smarc | smingest
/var/www/msearchd/mails.sqlite3
Incorporate new messages in the maildir and add them to the database, useful after fetching new mails:
minc ~/Mail/smarc | smingest
/var/www/msearchd/mails.sqlite3
SEE ALSO
BUGS
smingest
doesn't detect the insert of
duplicate messages. Should that happen, the database needs to be
recreated.