aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-20 09:59:25 +0800
committerAaron LI <aly@aaronly.me>2018-11-20 09:59:25 +0800
commit208835b40636f7e30e23b7b3d35ff0968b9026e4 (patch)
tree75846c7abfbb8c5b404a63b78cf1b7be9dd3210c
parent24fcb495eb158eefad3dc900e1821cb67de5617d (diff)
downloaddotfiles-208835b40636f7e30e23b7b3d35ff0968b9026e4.tar.bz2
notmuch: Simplify config
-rw-r--r--_notmuch-config92
1 files changed, 18 insertions, 74 deletions
diff --git a/_notmuch-config b/_notmuch-config
index 9b81488..f72d033 100644
--- a/_notmuch-config
+++ b/_notmuch-config
@@ -1,39 +1,21 @@
-##
-## ~/.notmuch-config
-## Configuration file for the notmuch mail system
-## http://notmuchmail.org
-##
-## IMPORTANT NOTE FOR CJK:
-## | To support correct CJK characters index and search (i.e., proper
-## ! character segmentation), the environment variable 'XAPIAN_CJK_NGRAM'
-## | should be set to non-empty value before notmuch indexing.
-##
-## Aaron LI <aaronly@gmail.com>
-## Created: 2015-02-02
-## Updated: 2016-01-26
-##
-
-# Database configuration
#
-# The only value supported here is 'path' which should be the top-level
-# directory where your mail currently exists and to where mail will be
-# delivered in the future. Files should be individual email messages.
-# Notmuch will store its database within a sub-directory of the path
-# configured here named ".notmuch".
+# ~/.notmuch-config
+# Configuration file for the notmuch mail system
#
+
+# CJK NOTE
+# --------
+# To support correct CJK characters index and search (i.e., proper
+# character segmentation), the environment variable 'XAPIAN_CJK_NGRAM'
+# should be set to non-empty value before notmuch indexing.
+
+
[database]
path=/home/aly/mail
+
# User configuration
#
-# Here is where you can let notmuch know how you would like to be
-# addressed. Valid settings are
-#
-# name Your full name.
-# primary_email Your primary email address.
-# other_email A list (separated by ';') of other email addresses
-# at which you receive email.
-#
# Notmuch will use the various email addresses configured here when
# formatting replies. It will avoid including your own addresses in the
# recipient list of replies, and will set the From address based on the
@@ -41,61 +23,23 @@ path=/home/aly/mail
#
[user]
name=Aaron LI
-primary_email=aaronly.me@gmail.com
-other_email=aaronly.me@outlook.com;liweitianux@autistici.org;liweitianux@gmail.com;liweitianux@live.com;liweitianux@sjtu.edu.cn;
+primary_email=aly@aaronly.me
+other_email=wt@liwt.net;liweitianux@autistici.org;liweitianux@gmail.com;liweitianux@live.com;liweitianux@sjtu.edu.cn;
-# Configuration for "notmuch new"
[new]
-#
-# A list (separated by ';') of the tags that will be added to all messages
-# incorporated by "notmuch new".
-#
-# Required by 'afew'
-#tags=unread;inbox;
-tags=new
-#
+tags=unread;inbox;
+
# A list (separated by ';') of file and directory names that will not be
# searched for messages by "notmuch new".
-#
-# NOTE: *Every* file/directory that goes by one of those names will be
-# ignored, independent of its depth/location in the mail store.
-ignore=backup;offlineimap;
+# NOTE: *every* file/directory that goes by one of those names will be
+# ignored, independent of its location in the mail store.
+ignore=backup;
-# Search configuration
[search]
-#
-# A ';'-separated list of tags that will be excluded from search results by
-# default. Using an excluded tag in a query will override that exclusion.
exclude_tags=deleted;spam;
-# Maildir compatibility configuration
[maildir]
-#
-# Valid values are true and false.
-#
-# If true, then the following maildir flags (in message filenames) will be
-# synchronized with the corresponding notmuch tags:
-#
-# Flag Tag
-# ---- -------
-# D draft
-# F flagged
-# P passed
-# R replied
-# S unread (added when 'S' flag is not present)
-#
-# The "notmuch new" command will notice flag changes in filenames and update
-# tags, while the "notmuch tag" and "notmuch restore" commands will notice tag
-# changes and update flags in filenames
synchronize_flags=true
-
-
-[crypto]
-#
-# Name (or full path) of gpg binary to use in verification and
-# decryption of PGP/MIME messages.
-gpg_path=gpg2
-