summaryrefslogtreecommitdiff
path: root/notmuch-insert.c
AgeCommit message (Collapse)Author
2014-03-06cli: make sure notmuch new and insert don't add invalid tagsJani Nikula
Check new.tags configuration values before doing anything, and bail out on invalid values.
2014-01-18cli: clean up exit status code returned by the cli commandsJani Nikula
Apart from the status codes for format mismatches, the non-zero exit status codes have been arbitrary. Make the cli consistently return either EXIT_SUCCESS or EXIT_FAILURE.
2014-01-03insert: respect maildir.synchronize_flagsJani Nikula
Don't synchronize maildir flags if the user doesn't want it.
2013-07-04insert: add --create-folder optionPeter Wang
Allow the insert command to create the maildir folder into which the new message should be delivered.
2013-07-01insert: add --folder optionPeter Wang
Allow the new message to be inserted into a folder within the Maildir hierarchy instead of the top-level folder.
2013-06-29cli: add insert commandPeter Wang
The notmuch insert command reads a message from standard input, writes it to a Maildir folder, and then incorporates the message into the notmuch database. Essentially it moves the functionality of notmuch-deliver into notmuch. Though it could be used as an alternative to notmuch new, the reason I want this is to allow my notmuch frontend to add postponed or sent messages to the mail store and notmuch database, without resorting to another tool (e.g. notmuch-deliver) nor directly modifying the maildir.