all repos — dotfiles @ 24d02e71fc107a1388b6b425dbc031cb42b4f3a4

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-application/pdf='zathura -'
64
65define trash {
66    move "$@" +Trash
67}
68commandalias del call trash
69
70retain date from to cc subject
71set mime-counter-evidence=0xE
72
73define sync {
74    !mbsync -a
75    newmail
76}
77commandalias n call sync
78commandalias mv mimeview
79
80define signature {
81    vput ! sig cat ~/.signature
82    vput csop message-inject-tail trim-end $sig
83}
84
85set on-compose-leave=signature