aboutsummaryrefslogtreecommitdiff
path: root/notmuch
diff options
context:
space:
mode:
authorDaniil Rozanov <dev@rozanov.info>2025-03-06 22:08:17 +0400
committerDaniil Rozanov <dev@rozanov.info>2025-03-06 22:08:17 +0400
commitde67aa7e8c0884810a3399c51b635edc408fac93 (patch)
tree62ca21543aeee7a070f6beb5fc9025fce13f90f9 /notmuch
parent011d8405259d03fa422ea2f79b55db2b6c533476 (diff)
Mail management by aerc, notmuch and isync. RSS by newsboat. And minor
Diffstat (limited to 'notmuch')
-rw-r--r--notmuch/.config/notmuch/default/config13
-rw-r--r--notmuch/.config/notmuch/dev/config17
l---------notmuch/.config/notmuch/dev/hooks1
-rwxr-xr-xnotmuch/.config/notmuch/hooks/post-insert3
-rwxr-xr-xnotmuch/.config/notmuch/hooks/post-new22
-rwxr-xr-xnotmuch/.config/notmuch/hooks/pre-new3
-rw-r--r--notmuch/.config/notmuch/job/config17
l---------notmuch/.config/notmuch/job/hooks1
-rw-r--r--notmuch/.config/notmuch/personal/config16
l---------notmuch/.config/notmuch/personal/hooks1
-rw-r--r--notmuch/.config/notmuch/testmail/config0
l---------notmuch/.config/notmuch/testmail/hooks1
12 files changed, 95 insertions, 0 deletions
diff --git a/notmuch/.config/notmuch/default/config b/notmuch/.config/notmuch/default/config
new file mode 100644
index 0000000..a0579a4
--- /dev/null
+++ b/notmuch/.config/notmuch/default/config
@@ -0,0 +1,13 @@
+[database]
+path=/home/chell/Mail
+[user]
+name=Daniil Rozanov
+[new]
+tags=inbox;unread
+ignore=.mbsyncstate;.uidvalidity
+[search]
+exclude_tags=deleted;spam;
+[maildir]
+synchronize_flags=true
+[crypto]
+gpg_path=gpg
diff --git a/notmuch/.config/notmuch/dev/config b/notmuch/.config/notmuch/dev/config
new file mode 100644
index 0000000..0876333
--- /dev/null
+++ b/notmuch/.config/notmuch/dev/config
@@ -0,0 +1,17 @@
+# vim: filetype=dosini
+
+[database]
+path=/home/chell/Mail/dev
+[user]
+name=Daniil Rozanov
+primary_email=dev@rozanov.info
+[new]
+tags=inbox;unread
+ignore=.mbsyncstate;.uidvalidity
+[search]
+exclude_tags=deleted;spam;
+[maildir]
+synchronize_flags=true
+[crypto]
+gpg_path=gpg
+
diff --git a/notmuch/.config/notmuch/dev/hooks b/notmuch/.config/notmuch/dev/hooks
new file mode 120000
index 0000000..f631275
--- /dev/null
+++ b/notmuch/.config/notmuch/dev/hooks
@@ -0,0 +1 @@
+../hooks \ No newline at end of file
diff --git a/notmuch/.config/notmuch/hooks/post-insert b/notmuch/.config/notmuch/hooks/post-insert
new file mode 100755
index 0000000..fa0c85b
--- /dev/null
+++ b/notmuch/.config/notmuch/hooks/post-insert
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit
diff --git a/notmuch/.config/notmuch/hooks/post-new b/notmuch/.config/notmuch/hooks/post-new
new file mode 100755
index 0000000..992e0b4
--- /dev/null
+++ b/notmuch/.config/notmuch/hooks/post-new
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+notmuch tag +info-gnu -- cc:info-gnu@gnu.org or to:info-gnu@gnu.org
+notmuch tag +info-guix -- cc:info-guix@gnu.org or to:info-guix@gnu.org
+notmuch tag +sg7 -- cc:sg7@lists.isocpp.org or to:sg7@lists.isocpp.org
+notmuch tag +sg13 -- cc:sg13@lists.isocpp.org or to:sg13@lists.isocpp.org
+notmuch tag +sg14 -- cc:sg14@lists.isocpp.org or to:sg14@lists.isocpp.org
+notmuch tag +sg15 -- cc:sg15@lists.isocpp.org or to:sg15@lists.isocpp.org
+notmuch tag +sg16 -- cc:sg16@lists.isocpp.org or to:sg16@lists.isocpp.org
+notmuch tag +std-discussion -- cc:std-discussion@lists.isocpp.org or to:std-discussion@lists.isocpp.org
+notmuch tag +std-proposals -- cc:std-proposals@lists.isocpp.org or to:std-proposals@lists.isocpp.org
+notmuch tag +notmuch -- cc:notmuch@notmuchmail.org or to:notmuch@notmuchmail.org
+notmuch tag +rjarry-aerc-discuss -- cc:~rjarry/aerc-discuss@lists.sr.ht or to:~rjarry/aerc-discuss@lists.sr.ht
+
+# Some interesting trashing/trashed, Xing/Xed in general was mentioned
+
+notmuch tag -inbox -unread +trash -- folder:Trash
+notmuch tag -inbox -unread +spam -- folder:Spam
+notmuch tag -inbox -unread -draft +sent -- folder:Sent
+notmuch tag -inbox -unread +draft -- folder:Draft
+
+notmuch tag +inbox -- folder:INBOX
diff --git a/notmuch/.config/notmuch/hooks/pre-new b/notmuch/.config/notmuch/hooks/pre-new
new file mode 100755
index 0000000..e0b0535
--- /dev/null
+++ b/notmuch/.config/notmuch/hooks/pre-new
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+mbsync "$NOTMUCH_PROFILE"
diff --git a/notmuch/.config/notmuch/job/config b/notmuch/.config/notmuch/job/config
new file mode 100644
index 0000000..d43dbc9
--- /dev/null
+++ b/notmuch/.config/notmuch/job/config
@@ -0,0 +1,17 @@
+# vim: filetype=dosini
+
+[database]
+path=/home/chell/Mail/job
+[user]
+name=Daniil Rozanov
+primary_email=job@rozanov.info
+[new]
+tags=inbox;unread
+ignore=.mbsyncstate;.uidvalidity
+[search]
+exclude_tags=deleted;spam;
+[maildir]
+synchronize_flags=true
+[crypto]
+gpg_path=gpg
+
diff --git a/notmuch/.config/notmuch/job/hooks b/notmuch/.config/notmuch/job/hooks
new file mode 120000
index 0000000..f631275
--- /dev/null
+++ b/notmuch/.config/notmuch/job/hooks
@@ -0,0 +1 @@
+../hooks \ No newline at end of file
diff --git a/notmuch/.config/notmuch/personal/config b/notmuch/.config/notmuch/personal/config
new file mode 100644
index 0000000..161faf5
--- /dev/null
+++ b/notmuch/.config/notmuch/personal/config
@@ -0,0 +1,16 @@
+# vim: filetype=dosini
+
+[database]
+path=/home/chell/Mail/personal
+[user]
+name=Daniil Rozanov
+primary_email=personal@rozanov.info
+[new]
+tags=inbox;unread
+ignore=.mbsyncstate;.uidvalidity
+[search]
+exclude_tags=deleted;spam;
+[maildir]
+synchronize_flags=true
+[crypto]
+gpg_path=gpg
diff --git a/notmuch/.config/notmuch/personal/hooks b/notmuch/.config/notmuch/personal/hooks
new file mode 120000
index 0000000..f631275
--- /dev/null
+++ b/notmuch/.config/notmuch/personal/hooks
@@ -0,0 +1 @@
+../hooks \ No newline at end of file
diff --git a/notmuch/.config/notmuch/testmail/config b/notmuch/.config/notmuch/testmail/config
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/notmuch/.config/notmuch/testmail/config
diff --git a/notmuch/.config/notmuch/testmail/hooks b/notmuch/.config/notmuch/testmail/hooks
new file mode 120000
index 0000000..f631275
--- /dev/null
+++ b/notmuch/.config/notmuch/testmail/hooks
@@ -0,0 +1 @@
+../hooks \ No newline at end of file