notmuch-web-0.1.0: config/settings.yml
Default: &defaults
host: "*4" # any IPv4 host
port: 3000
# The folders are the notmuch searches that are linked from the navigation bar.
# The first folder is displayed on the home page.
folders:
- name: Inbox
search: tag:inbox
- name: Unread
search: tag:unread
- name: Lists
search: tag:lists and tag:unread
# The retag buttons which appear for threads and messages. The icon name is from
# the bootstrap glyphicons-halflings (http://twitter.github.com/bootstrap/base-css.html#icons).
retag:
- name: Mark Read
icon: icon-ok
remove: ["unread"]
- name: Archive
icon: icon-briefcase
remove: ["unread", "inbox"]
- name: Kill Thread
icon: icon-thumbs-down
add: ["killed"]
remove: ["unread", "inbox"]
Production:
# The approot is the full URL to root of notmuch web.
approot: "http://localhost:3000"
# The from address for compose. Currently only a single from address is allowed. Format should be
# Name <abc@example.com>
from-address: "x"
# You must set your hashed password.
# See http://hackage.haskell.org/packages/archive/pwstore-fast/latest/doc/html/Crypto-PasswordStore.html
# for the format. You can generate the password via
#
# $ path/to/notmuch-web --make-password
#
hashed-password: "x"
# The sent box is the folder where sent messages are saved for future indexing by notmuch new. If
# the setting is missing, the sent messages are not saved.
#sent-box: /path/to/notmuch/sent
<<: *defaults
Development:
approot: "http://localhost:3000"
from-address: "Test <test@example.com>"
# For development and testing, the password is hunter2
hashed-password: "sha256|12|lMzlNz0XK9eiPIYPY96QCQ==|1ZJ/R3qLEF0oCBVNtvNKLwZLpXPM7bLEy/Nc6QBxWro="
sent-box: sent
<<: *defaults
Testing:
approot: "http://localhost:3000"
from-address: "Test <test@example.com>"
# For development and testing, the password is hunter2
hashed-password: "sha256|12|lMzlNz0XK9eiPIYPY96QCQ==|1ZJ/R3qLEF0oCBVNtvNKLwZLpXPM7bLEy/Nc6QBxWro="
sent-box: sent
<<: *defaults
Staging:
approot: "http://localhost:3000"
from-address: "x"
hashed-password: "x"
<<: *defaults