1 .\" gmimport.1 was written by Omar Polo <op@openbsd.org> and is placed in
2 .\" the public domain. The author hereby disclaims copyright to this
9 .Nd import emails into a sqlite database
15 reads a sequence of path to emails from standard inputs and inserts them
21 To index all the messages in the
23 maildir, useful to initially populate the database:
25 .Dl mlist ~/Mail/gotmarc | gmimport /var/www/msearchd/mails.sqlite3
27 Incorporate new messages in the maildir and add them to the database,
28 useful after fetching new mails:
30 .Dl minc ~/Mail/gotmarc | gmimport /var/www/msearchd/mails.sqlite3
37 doesn't detect the insert of duplicate messages.
38 Should that happen, the database needs to be recreated.