~armaan/dotfiles

012875ec51e3fe70a0d57f32cfa48e2405375fd1 — Armaan Bhojwani 3 months ago 054144d
mutt: finish workable config
3 files changed, 31 insertions(+), 8 deletions(-)

M .config/mutt/muttrc
A .config/mutt/muttrc.personal
A .config/mutt/muttrc.school
M .config/mutt/muttrc => .config/mutt/muttrc +17 -8
@@ 1,14 1,23 @@
set folder = "~/mail/personal"
set spoolfile = "~/mail/personal/Inbox"
set postponed = "~/mail/personal/Drafts"
set trash = "+/trash"
set record = ""
set mbox_type=Maildir
set realname = "Armaan Bhojwani"

set editor = "vis"

set mailcap_path = ~/.config/mutt/mailcap
auto_view text/html
alternative_order text/plain text text/html

set sort=threads
set sort_aux=last-date-received
set sort = threads
set sort_aux = last-date-received
set help = no
set status_format = "[%f] %n/%m unread %> %P"

set my_personal_smtp_pass = `pash show login.mailbox.org/me@armaanb.net`
set my_school_smtp_pass = `pash show gmail-otp/abhojwani22@nobles.edu`

folder-hook "personal" "source ~/.config/mutt/muttrc.personal
folder-hook "school"   "source ~/.config/mutt/muttrc.school"
source "~/.config/mutt/muttrc.personal"

macro index Z "!mbsync -a -c ~/.config/mbsync/mbsyncrc<enter>" "Update with mbsync"

set ssl_force_tls = yes

A .config/mutt/muttrc.personal => .config/mutt/muttrc.personal +7 -0
@@ 0,0 1,7 @@
set smtp_url = "smtps://me@armaanb.net:$my_personal_smtp_pass@smtp.mailbox.org:587"
set folder = "~/mail/personal"

set spoolfile = "+/Inbox"
set postponed = "+/Drafts"
set trash = "+/Trash"
set record = "+/Sent"

A .config/mutt/muttrc.school => .config/mutt/muttrc.school +7 -0
@@ 0,0 1,7 @@
set smtp_url = "smtps://abhojwani22@nobles.edu:$my_school_smtp_pass@smtp.gmail.com:587"
set folder = "~/mail/school"

set spoolfile = "+/Inbox"
set postponed = "+/Drafts"
set trash = "+/Trash"
set record = "+/Sent"