7 Commits

Author SHA1 Message Date
8021820311 Allow import by filename. 2014-03-29 22:32:03 -07:00
c266e04053 Add mode to load message from stdin.
If no maildir specified stdin is treated as a message. This program is useful
for loading email into the DB as procmail rule.
2014-03-29 21:56:57 -07:00
12199604c1 Add helper to print message with hash as a header.
Broke out email.go's Hash() in to multiple functions to make this easier, and
update tools that used it.
2014-03-28 21:46:34 -07:00
56db982878 Limit amount read when slurping message into memory. 2014-03-27 21:37:25 -07:00
c7bcdde1e5 Use expvar for message stats. 2014-03-24 23:21:38 -07:00
1b8afaa73f Add person table.
Import mail associated with -user specified on commandline.
2014-03-20 22:27:50 -07:00
bb8f546fd0 New utility to import mail into PostgreSQL.
Minor leak cleanup in mailhash.
2014-03-18 23:01:39 -07:00