Use common .mailrc
Anirudh Oppiliappan x@icyphox.sh
Sun, 07 Nov 2021 20:14:40 +0530
2 files changed,
3 insertions(+),
75 deletions(-)
D
darwin/home/.mailrc
@@ -1,72 +0,0 @@
-set v15-compat -set netrc-lookup -set netrc-pipe='gpg -qd ~/.netrc.gpg' -set sendcharsets=utf-8,iso-8859-1 -set reply-in-same-charset -set fullnames -set followup-to followup-to-honour=ask-yes - -account "personal" { - localopts yes - set from="Anirudh Oppiliappan <x@icyphox.sh>" - set folder=~/mail/personal - set record=+Sent - set inbox=+Inbox - set mta=smtps://smtp.migadu.com:465 - shortcut \ - sent +Sent \ - inbox +Inbox \ - drafts +Drafts \ - trash +Trash \ - archive +Archive \ - spam +Junk \ - rl "+Read Later" -} - -set prompt='> ' -set colour-pager crt - -colour 256 sum-dotmark ft=bold,fg=13 dot -colour 256 sum-header fg=007 older -colour 256 sum-header bg=253,fg=white dot -colour 256 sum-header fg=white -colour 256 sum-thread bg=008 dot -colour 256 sum-thread fg=cyan - -account personal -set askattach -set markanswered -set autocollapse -set reply-to-honour -set editalong -set history-gabby=all -set history-file=~/.s-nailhist -set autosort=date - -set pipe-text/html='w3m -T text/html -dump' -set pipe-image/png='feh -' -set pipe-image/jpg='feh -' -set pipe-image/jpeg='feh -' -set pipe-application/pdf='zathura -' - -define trash { - move "$@" +Trash -} -commandalias del call trash - -retain date from to cc subject -set mime-counter-evidence=0xE - -define sync { - !mbsync -a - newmail -} -commandalias n call sync -commandalias mv mimeview - -define signature { - vput ! sig cat ~/.signature - vput csop message-inject-tail trim-end $sig -} - -set on-compose-leave=signature
M
home/.mailrc
→
home/.mailrc
@@ -12,15 +12,15 @@ set from="Anirudh Oppiliappan <x@icyphox.sh>"
set folder=~/mail/personal set record=+Sent set inbox=+Inbox - set mta=smtps://smtp.migadu.com - shortcut fwc "+Free Writers Club" \ + set mta=smtps://smtp.migadu.com:465 + shortcut \ sent +Sent \ inbox +Inbox \ drafts +Drafts \ trash +Trash \ archive +Archive \ spam +Junk \ - lob +Inbox/Lobste.rs + rl "+Read Later" } set prompt='> '