summaryrefslogtreecommitdiff
path: root/.fmail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-06-13 07:33:10 +0100
committerSean Whitton <spwhitton@spwhitton.name>2017-06-13 07:33:10 +0100
commit11a904349a5619bc1214b8210f74c1e78ae17fad (patch)
treef6ffeb569b8457d80440db4d6504c4767792ac7e /.fmail
parenta6b7a44f8649218c7b8b298490be70e717e87498 (diff)
downloaddotfiles-11a904349a5619bc1214b8210f74c1e78ae17fad.tar.gz
code to mount maildir archives
Diffstat (limited to '.fmail')
-rwxr-xr-x.fmail/.notmuch/hooks/post-new3
-rwxr-xr-x.fmail/.notmuch/hooks/pre-new2
2 files changed, 5 insertions, 0 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new
index c8532d44..e824a866 100755
--- a/.fmail/.notmuch/hooks/post-new
+++ b/.fmail/.notmuch/hooks/post-new
@@ -13,3 +13,6 @@ notmuch tag +spam -- folder:spam
# mark all trash as trash
notmuch tag +deleted -- folder:trash
+
+# mark all archived mail as read and unflagged
+notmuch tag -unread -flagged -- path:pre2012/** or path:2013/** or path:2014/** or path:2015/** or path:2016/** or path:2017a/**
diff --git a/.fmail/.notmuch/hooks/pre-new b/.fmail/.notmuch/hooks/pre-new
index 6af993dd..2c4f014e 100755
--- a/.fmail/.notmuch/hooks/pre-new
+++ b/.fmail/.notmuch/hooks/pre-new
@@ -42,3 +42,5 @@ if [ ! -z "$floating_deleted" ]; then
fi
movemail
+
+#mount-archived-mail