From c81464bc1f415f0867ee67a45bb09bf63479e295 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 13 Jan 2022 11:39:38 +0000 Subject: (Mail|Emacs)~notmuch settings +a few more tags to make organizing stuff easier +recent searches to notmuch-hello ~path to database is now relative --- Mail/.local/share/mail/.notmuch/hooks/post-new | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 Mail/.local/share/mail/.notmuch/hooks/post-new (limited to 'Mail/.local/share/mail/.notmuch') diff --git a/Mail/.local/share/mail/.notmuch/hooks/post-new b/Mail/.local/share/mail/.notmuch/hooks/post-new new file mode 100755 index 0000000..0573651 --- /dev/null +++ b/Mail/.local/share/mail/.notmuch/hooks/post-new @@ -0,0 +1,19 @@ +#!/bin/sh + +# unread;inbox;warwick;banks;receipts;spotify +notmuch tag +inbox +unread -new -- tag:new + +notmuch tag -new -unread +inbox +sent -- '(from:"aryadev@aryadevchavali.com*" not to:"*@aryadevchavali.com.com*" not tag:list)' +notmuch tag -inbox +list 'from:"rss@aryadevchavali.com"' + +notmuch tag -inbox +warwick from:'*@warwick.ac.uk*' + +notmuch tag -inbox +receipts from:'*@paypal.co.uk*' \ + from:'*@namcheap.com*' from:'*@digitalocean.com*' \ + from:'*@spotify.com*' from:'*@nationalexpress.com*' + +notmuch tag -inbox +jobs from:'*@jobs*' from:'*@indeed.com*' + +notmuch tag -inbox +bank from:'*@*hsbc*' from:'*@*lloydsbank*' + +notmuch tag +flagged from:'expiry@letsencrypt.org' -- cgit v1.2.3-13-gbd6f