X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=doc%2Fman5%2Fnotmuch-hooks.rst;h=3a72a80b62829c68add26bbffe824f2dfa0d343d;hb=6cb1c617a70466c4d8acc67cb70254e5b8385f88;hp=493abf20f0039a62e17355e5dc1fe757579f40be;hpb=d736260385a689b5c77d8121f48e29440e3adfa4;p=notmuch diff --git a/doc/man5/notmuch-hooks.rst b/doc/man5/notmuch-hooks.rst index 493abf20..3a72a80b 100644 --- a/doc/man5/notmuch-hooks.rst +++ b/doc/man5/notmuch-hooks.rst @@ -5,7 +5,7 @@ notmuch-hooks SYNOPSIS ======== - $DATABASEDIR/.notmuch/hooks/* +$DATABASEDIR/.notmuch/hooks/* DESCRIPTION =========== @@ -35,6 +35,17 @@ The currently available hooks are described below. Typically this hook is used to perform additional query-based tagging on the imported messages. + **post-insert** + + This hook is invoked by the **insert** command after the + message has been delivered, added to the database, and initial + tags have been applied. The hook will not be run if there have + been any errors during the message delivery; what is regarded + as successful delivery depends on the ``--keep`` option. + + Typically this hook is used to perform additional query-based + tagging on the delivered messages. + SEE ALSO ========