From fe2218e182b8f0483bd37e62a92f914b6b9daa94 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 12 Jul 2022 18:53:18 +0100 Subject: (*)~general fixes, small scale (notmuch)+junk tag (Shell)~sdkman so it uses the current username --- Mail/.local/share/mail/.notmuch/hooks/post-new | 1 + Mail/.notmuch-config | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Mail') diff --git a/Mail/.local/share/mail/.notmuch/hooks/post-new b/Mail/.local/share/mail/.notmuch/hooks/post-new index 0573651..e0e9131 100755 --- a/Mail/.local/share/mail/.notmuch/hooks/post-new +++ b/Mail/.local/share/mail/.notmuch/hooks/post-new @@ -5,6 +5,7 @@ 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 -unread +spam 'path:general/Junk/**' notmuch tag -inbox +warwick from:'*@warwick.ac.uk*' diff --git a/Mail/.notmuch-config b/Mail/.notmuch-config index f0bd4e4..bc81505 100644 --- a/Mail/.notmuch-config +++ b/Mail/.notmuch-config @@ -12,7 +12,7 @@ # [database] -path=.local/share/mail +path=/home/oreo/.local/share/mail # User configuration # @@ -64,7 +64,7 @@ ignore= # [search] -exclude_tags=trash;deleted;spam; +exclude_tags=trash;deleted;spam;junk; # Maildir compatibility configuration # -- cgit v1.2.3-13-gbd6f