home/.mailrc (view raw)
1set v15-compat
2set netrc-lookup
3set netrc-pipe='gpg2 -qd ~/.netrc.gpg'
4set sendcharsets=utf-8,iso-8859-1
5set reply-in-same-charset
6set fullnames
7set followup-to followup-to-honour=ask-yes
8
9account "personal" {
10 localopts yes
11 set from="Anirudh Oppiliappan <x@icyphox.sh>"
12 set folder=~/mail
13 set record=+Sent
14 set inbox=+Inbox
15 set mta=smtp://m.icyphox.sh:587 smtp-use-starttls
16 shortcut fwc "+Free Writers Club" \
17 sent +Sent \
18 inbox +Inbox \
19 drafts +Drafts \
20 trash +Trash \
21 archive +Archives
22}
23
24set prompt='> '
25set colour-pager crt
26
27colour 256 sum-dotmark ft=bold,fg=13 dot
28colour 256 sum-header fg=007 older
29colour 256 sum-header bg=008 dot
30colour 256 sum-header fg=white
31colour 256 sum-thread bg=008 dot
32colour 256 sum-thread fg=cyan
33
34account personal
35set askattach
36set markanswered
37set autocollapse
38set reply-to-honour
39set editalong
40set history-gabby=all
41set history-file=~/.s-nailhist
42set autosort=date
43
44define trash {
45 move "$@" +Trash
46}
47commandalias del call trash
48
49retain date from to cc subject
50set mime-counter-evidence=0xE
51
52define sync {
53 !mbsync -a
54}
55commandalias n call sync