Re: Usage of hooks w/ notmuch

Subject: Re: Usage of hooks w/ notmuch

Date: Fri, 23 Jun 2023 19:42:32 +0300

To: Jan Detke, notmuch@notmuchmail.org

Cc:

From: David Bremner


Jan Detke <jandetke@outlook.com> writes:

> I got a problem using hooks with notmuch (Version 0.37-3). I specified
> the hook directory under [database] in my notmuch config. The script
> (post-new.sh) is executable and works when invoked manually in the
> terminal, but it does not get executed after invoking notmuch
> new. There is no additional output given in the terminal.

You need to follow the naming in notmuch-hooks(5) exactly, so
<hook_dir>/post-new rather than <hook-dir>/post-new.sh

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: