From 81f3db2c9fcc83fd2da86757dfb821d3edea9915 Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 5 Sep 2019 09:13:29 +0200 Subject: Add notmuch config --- README.md | 1 + config.yaml | 4 ++ dotfiles/notmuch-config | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ install.sh | 4 ++ 4 files changed, 109 insertions(+) create mode 100644 dotfiles/notmuch-config diff --git a/README.md b/README.md index fccac4b..0a9cd9e 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ mutt > mutt config msmtp > smtp client config newsboat > rss feeds client config + notmuch > notmuch mail system config scripts > misc scripts systemd > user services for differents application ``` diff --git a/config.yaml b/config.yaml index e888685..4246b0d 100644 --- a/config.yaml +++ b/config.yaml @@ -45,6 +45,9 @@ dotfiles: d_newsboat: src: newsboat dst: ~/.newsboat + f_notmuch-config: + src: notmuch-config + dst: ~/.notmuch-config profiles: unicorn: dotfiles: @@ -62,6 +65,7 @@ profiles: - d_mutt - f_muttrc - d_newsboat + - f_notmuch-config fenec: dotfiles: - d_i3pystatus diff --git a/dotfiles/notmuch-config b/dotfiles/notmuch-config new file mode 100644 index 0000000..a81223b --- /dev/null +++ b/dotfiles/notmuch-config @@ -0,0 +1,100 @@ +# .notmuch-config - Configuration file for the notmuch mail system +# +# For more information about notmuch, see https://notmuchmail.org + +# 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". +# +[database] +path=/home/neodarz/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 +# address to which the original email was addressed. +# +[user] +name=neodarz +primary_email=neodarz@neodarz.net +other_email=corentin.breton@neodarz.net; + +# Configuration for "notmuch new" +# +# The following options are supported here: +# +# tags A list (separated by ';') of the tags that will be +# added to all messages incorporated by "notmuch new". +# +# ignore 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. +# +[new] +tags=unread;inbox; +ignore= + +# Search configuration +# +# The following option is supported here: +# +# exclude_tags +# 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. +# +[search] +exclude_tags=deleted;spam; + +# Maildir compatibility configuration +# +# The following option is supported here: +# +# synchronize_flags 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 +# +[maildir] +synchronize_flags=true + +# Cryptography related configuration +# +# The following *deprecated* option is currently supported: +# +# gpg_path +# binary name or full path to invoke gpg. +# NOTE: In a future build, this option will be ignored. +# Setting $PATH is a better approach. +# +[crypto] +gpg_path=gpg diff --git a/install.sh b/install.sh index 9a4b64c..dccbcd9 100644 --- a/install.sh +++ b/install.sh @@ -124,4 +124,8 @@ #sudo pacman -S newsboat +## notmuch + +#sudo pacman -S notmuch + # install dotfiles -- cgit v1.2.1