mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 79a3a237ee151fb27ff1bbc56f633f3403bb8f45
parent 94f0044975df7173ec65dfadfd37dfbc64d7c204
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 26 Jul 2018 16:25:53 +0200

do not index encrypted mails where indexing already failed

Diffstat:
notmuch-new.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/notmuch-new.sh b/notmuch-new.sh @@ -8,7 +8,8 @@ then do nice ionice -c 3 chrt --idle 0 /bin/sh -c "notmuch new && afew --tag --new" # in case an encryption key is now available - nice ionice -c 3 chrt --idle 0 /bin/sh -c "PINENTRY_USER_DATA=none notmuch reindex tag:encrypted and not property:index.decryption=success" < /dev/null + nice ionice -c 3 chrt --idle 0 /bin/sh -c \ + "PINENTRY_USER_DATA=none notmuch reindex tag:encrypted and not tag:encrypted-failed and not property:index.decryption=success" < /dev/null sleep 1 inotifywait $NEW_MAIL done