-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmuttrc
108 lines (98 loc) · 4.57 KB
/
muttrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#----------------------------------------
# Mutt mail client configuration defaults for all systems
#----------------------------------------
#----------------------------------------
# Composition settings
#----------------------------------------
set attribution="%n wrote:"
set fast_reply=yes
set forward_format="Fwd: %s"
set hidden_host=yes
set include=yes
#set indent_string=" >"
set metoo=yes
set mime_forward=yes
#set reply_to=yes
#set sig_dashes=yes
set text_flowed=yes
#----------------------------------------
# Message settings
#----------------------------------------
set auto_tag=yes # apply commands to all tagged messages by default
set delete=yes # automatically purge messages marked for deletion
set move=no # do not ask for confirmation when moving messages
#----------------------------------------
# Display settings
#----------------------------------------
#auto_view text/html
#set index_format="%S %s %> %F %D"
#set date_format="%b %e"
set date_format="(%y-%m-%d %H:%M %Z)" # international date format
#set index_format="%S %{%b %d} %-20.20L %s"
#set index_format="%S %T %-24.24L %s"
set index_format="%4C %S %T %-25.25L %s"
set to_chars=" >TC<L"
set markers=yes
set reverse_name=yes
set sort=threads
set strict_threads
set pgp_replysign=yes # automatically sign replies to signed messages
set pgp_verify_sig # automatically verify signatures
ignore *
unignore Subject: Date: From: To: Cc:
#unignore X-Priority: Importance: X-Mailer: User-Agent: X-Spam-Flag: X-Spam-Level: X-Spam-Status: X-Spam-Report
#----------------------------------------
# Color settings
#----------------------------------------
# Colors for a black on white color xterm
color normal default default
#color hdrdefault white default
color hdrdefault magenta default
#color header magenta default ^(Subject|Date|From|To|Cc):
color quoted magenta default
#color signature white default
#color indicator brightwhite blue
color error brightred default
#color status brightwhite blue
color tree cyan default
color tilde cyan default
color markers cyan default
color attachment cyan default
#color search default yellow
color body cyan default "(ftp|http)://[^ ]+" # highlight URLs
color body cyan default [-a-z_0-9.]+@[-a-z_0-9.]+ # highlight mail accounts
#color underline cyan default
color underline magenta default
mono normal none
mono indicator reverse
#----------------------------------------
# Encryption settings
#----------------------------------------
#set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
#set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
#set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
#set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
#set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
#set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
#set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
#set pgp_import_command="gpg --no-verbose --import -v %f"
#set pgp_export_command="gpg --no-verbose --export --armor %r"
#set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
#set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
#set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
#----------------------------------------
# Key bindings
#----------------------------------------
macro pager "S" "<pipe-message>bogofilter -s<enter><delete-message>" "Learn as spam and delete"
macro index "S" "<pipe-message>bogofilter -s<enter><delete-message>" "Learn as spam and delete"
macro pager "H" "<pipe-message>bogofilter -n<enter><save-message>!<enter>" "Learn as not spam and move to inbox"
macro index "H" "<pipe-message>bogofilter -n<enter><save-message>!<enter>" "Learn as not spam and move to inbox"
#----------------------------------------
# Miscellaneous settings
#----------------------------------------
set nowait_key # don't prompt if pipeline exits successfully
set print=ask-yes # ask before printing
#----------------------------------------
# Miscellaneous settings
#----------------------------------------
source `if test -f ~/.muttrc.local; then echo ~/.muttrc.local; else echo /dev/null; fi`