all repos — dotfiles @ 757e988987557826f5bdd417ba1406a27f4eed6c

my *nix dotfiles

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/personal
13    set record=+Sent
14    set inbox=+Inbox
15    set mta=smtps://smtp.migadu.com
16    shortcut fwc "+Free Writers Club" \
17        sent +Sent \
18        inbox +Inbox \
19        drafts +Drafts \
20        trash +Trash \
21        archive +Archive \
22        spam +Junk
23}
24
25account "homescreen" {
26    localopts yes
27    set from="Anirudh Oppiliappan <icy@homescreens.org>"
28    set netrc-pipe='gpg2 -qd ~/.netrc-hs.gpg'
29    set folder=~/mail/homescreen
30    set record=+Sent
31    set inbox=+Inbox
32    set mta=smtps://smtp.migadu.com
33    shortcut sent +Sent \
34        inbox +Inbox \
35        drafts +Drafts \
36        trash +Trash \
37        archive +Archive
38}
39
40set prompt='> '
41set colour-pager crt
42
43colour 256 sum-dotmark ft=bold,fg=13 dot
44colour 256 sum-header fg=007 older
45colour 256 sum-header bg=008 dot
46colour 256 sum-header fg=white
47colour 256 sum-thread bg=008 dot
48colour 256 sum-thread fg=cyan
49
50account personal
51set askattach
52set markanswered
53set autocollapse
54set reply-to-honour
55set editalong
56set history-gabby=all 
57set history-file=~/.s-nailhist
58set autosort=date
59
60set pipe-text/html='w3m -T text/html -dump'
61set pipe-image/png='feh -'
62set pipe-image/jpg='feh -'
63set pipe-image/jpeg='feh -'
64set pipe-application/pdf='zathura -'
65
66define trash {
67    move "$@" +Trash
68}
69commandalias del call trash
70
71retain date from to cc subject
72set mime-counter-evidence=0xE
73
74define sync {
75    !mbsync -a
76    newmail
77}
78commandalias n call sync
79commandalias mv mimeview
80
81define signature {
82    vput ! sig cat ~/.signature
83    vput csop message-inject-tail trim-end $sig
84}
85
86set on-compose-leave=signature