-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.muttrc
132 lines (107 loc) · 4.23 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
## mutt configuration
#
# first some includes for
# color
source ~/.mutt/colors/darkcourses_
#source ~/.mutt.colors
# mailinglist subscriptions
source ~/.mutt.subscribe
# macros
source ~/.mutt.macros
# GnuPG
source ~/.gpgrc
# personal information
#set realname="Arvid Warnecke"
#set from="[email protected]"
set use_from=yes
set envelope_from=yes
set followup_to
set reverse_name
# set from automatically
unalternates ``*''
alternates [email protected]
alternates [email protected]
alternates [email protected]
# Use msmtp rather than sendmail. Check that
# the path is correct for your system:
set sendmail="/bin/msmtp"
# Folders
#set folder="$HOME/mail" # Local mailboxes stored here
#set record="+sent" # Where to store sent messages
#set postponed="+postponed" # Where to store draft messages
#set mbox_type=mbox # Mailbox type
set mbox_type=Maildir # Mailbox type
set move=no # Don't move mail from spool by default
set include=yes # Quote message when replying
set mark_old=no # Don't mark new messages as old, when changing
# the mailbox
set auto_tag=yes # Functions in the index which affect a message
# will applied to all tagged messages if there are
#set mbox="+archive" # Where mutt will store read messages
source "~/.mutt.nostalgix_aw"
# Here we use the $folder variable that has just been set in the sourced file.
# We must set it right now otherwise the 'folder' variable will change in the next sourced file.
folder-hook $folder 'source ~/.mutt.nostalgix_aw'
source "~/.mutt.nostalgix_m"
folder-hook *[email protected]/ 'source ~/.mutt.nostalgix_m'
source "~/.mutt.nostalgix_a"
folder-hook *[email protected]/ 'source ~/.mutt.nostalgix_a'
# Watch these mailboxes for new mail, useful only if
# Procmail or Maildrop is used to sort mail.
mailboxes ! +list.vim +list.ruby-talk +fetchmail +mutt +list.hbase-user +list.arch-general +list.arch-dev-public
set sort_browser=alpha # Sort mailboxes by alpha(bet)
set sort=threads
# What to show and order of headers
ignore *
unignore Date: From: User-Agent: X-Mailer X-Operating-System To: \
Cc: Reply-To: Subject: Mail-Followup-To:
hdr_order Date: From: User-Agent: X-Mailer X-Operating-System To: \
Cc: Reply-To: Subject: Mail-Followup-To:
# Editor of choice
#set editor="vim -c 'set tw=70 et' '+/^$' "
set editor="vim"
set edit_headers=no # See the headers when editing
# set date_format
set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"
# layout of the index
set index_format="%Z ◦ %{%d %b %y}, %{%H:%M} │ %-32.32F ◦ (%4c) │ %s"
# fancy status line
set status_format="-%r- %v ---[ Folder: %f, Msgs: %m%?n? New: %n?%?d? Del: %d?%?t? Tag: %t?%?l? (%l)? ]%?p?---- .: %p waiting to send :. ?--%>- (%P) ---"
# put the status bar on top
set status_on_top
# and hide the help
unset help
# UTF-8
set charset="UTF-8"
set send_charset="us-ascii:iso-8859-15:utf-8"
charset-hook ^us-ascii$ "windows-1252"
charset-hook ^iso-8859-1$ "windows-1252"
set assumed_charset="windows-1252"
set pager_stop=yes # not move to the next message when you are at the end
# of a message and invoke the next-page function
set pager_context=2 # controls the number of lines of context that are given
# when displaying the next or previous page in the internal pager
set pager_index_lines=10 # number of lines to display in a mini-pager above the message
set markers=no # don't put '+' at the beginning of wrapped lines
# Google contacts
set query_command="goobook query '%s'"
bind editor <Tab> complete-query
# view annoying html mail inline
auto_view text/html
alternative_order text/plain text/enriched text/html # save html for last
## GPG-Configuration was sourced above
set pgp_autosign
set pgp_replysign
# set pgp_encryptself #does nothing, why?
set pgp_replyencrypt
set crypt_autosign = yes
set crypt_replyencrypt = yes
set pgp_timeout=7200
set pgp_verify_sig=yes
set pgp_show_unusable=yes #mutt will display non-usable keys
set pgp_sign_as="0x12942E7E" #sign with arvid at nostalgix org
# small message hook to call pgp when content-type is alternative
message-hook "~h multipart/alternative" "exec check-traditional-pgp"