From 4e83c5c772bda6b082d3a20e9a6afd654a8cefd9 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 22 Apr 2016 10:40:12 -0400 Subject: Update mutt accounts config --- .mutt/accounts.rc | 162 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 96 insertions(+), 66 deletions(-) diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc index 907ad65..9e3fcf8 100644 --- a/.mutt/accounts.rc +++ b/.mutt/accounts.rc @@ -1,11 +1,23 @@ # vim: syntax=muttrc -account-hook imaps://imap.gmail.com \ +account-hook imaps://ryanakca@gmail.com@imap.gmail.com \ "set imap_user = 'ryanakca@gmail.com';\ set imap_pass = 'GMAIL_PASS';\ set imap_passive = 'no';\ -set folder = 'imaps://imap.gmail.com:933';\ -set spoolfile = '=INBOX'" +set folder = 'imaps://ryanakca@gmail.com@imap.gmail.com:933';\ +set postponed = '=[Google Mail]/Drafts';\ +set spoolfile = '=INBOX';\ +set from = "rak@debian.org";\ +set sendmail='MSMTP_PATH';\ +unset smtp_url;\ +unset smtp_pass;\ +unset record;\ +macro index,pager a '=[Google Mail]/All Mail' 'Archive';\ +macro index,pager S '=[Google Mail].Spam' 'Spam';\ +macro index .s '=Debian.archive' 'Saves Deb packaging email to Debian.archive';\ +set pager_format = '-%Z-GMAIL: %C/%m: %-20.20n %s';\ +set compose_format = '-- GMAIL: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-GMAIL: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" account-hook imap://localhost \ "set imap_user = 'ryan';\ @@ -21,7 +33,14 @@ set folder = 'imaps://outlook.office365.com:993/';\ set record = '=Sent Items';\ set postponed = '=Drafts';\ set spoolfile = '=Inbox';\ -set imap_passive = 'no'" +set imap_passive = 'no';\ +unset smtp_url;\ +unset smtp_pass;\ +set sendmail = 'MSMTP_PATH -a queensu';\ +set from = 'Ryan Kavanagh ';\ +set pager_format = '-%Z-QUEENSU: %C/%m: %-20.20n %s';\ +set compose_format = '-- QUEENSU: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-QUEENSU: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" account-hook imaps://hermes.ryanak.ca \ "set imap_user = 'rak';\ @@ -32,67 +51,42 @@ set postponed = '=Drafts';\ set spoolfile = '=';\ unset smtp_url;\ unset smtp_pass;\ -set sendmail = 'MSMTP_PATH -a ryanakca';" +set sendmail = 'MSMTP_PATH -a ryanakca';\ +set from = 'Ryan Kavanag ';\ +set pager_format = '-%Z-RYANAK.CA: %C/%m: %-20.20n %s';\ +set compose_format = '-- RYANAK.CA: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-RYANAK.CA: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" -send-hook . \ -"set from = rak@debian.org;\ -set sendmail='MSMTP_PATH';\ -unset smtp_url;\ -unset smtp_pass;\ -unset record;\ +account-hook imaps://rkavanag@andrew.cmu.edu@imap.gmail.com \ +"set imap_user = 'rkavanag@andrew.cmu.edu';\ +set imap_pass = 'CMU_PASS';\ +set imap_passive = 'no';\ +set imap_keepalive = 60;\ +set folder = 'imaps://rkavanag@andrew.cmu.edu@imap.gmail.com:933';\ set spoolfile = '=INBOX';\ -set postponed = '=[Google Mail]/Drafts'" - -folder-hook . \ -"set from = rak@debian.org;\ -set sendmail='MSMTP_PATH';\ +set sendmail='MSMTP_PATH -a cmu';\ +set from = 'Ryan Kavanagh ';\ unset smtp_url;\ unset smtp_pass;\ unset record;\ +set pager_format = '-%Z-CMU: %C/%m: %-20.20n %s';\ +set compose_format = '-- CMU: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-CMU: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" + +account-hook imaps://imap.srv.cs.cmu.edu \ +"set imap_user = 'rkavanag';\ +set imap_pass = 'CMUSCS_PASS';\ +set folder = 'imaps://imap.srv.cs.cmu.edu/';\ +set record = '=INBOX.Sent';\ +set postponed = '=INBOX.Drafts';\ set spoolfile = '=INBOX';\ -set postponed = '=[Google Mail]/Drafts';\ -macro index,pager a '=[Google Mail]/All Mail' 'Archive';\ -macro index,pager S '=[Google Mail].Spam' 'Spam';\ -macro index .s '=Debian.archive' 'Saves Deb packaging email to Debian.archive';\ -set pager_format = '-%Z-MAIN: %C/%m: %-20.20n %s';\ -set compose_format = '-- MAIN: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-MAIN: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" - -folder-hook .*[Qq]ueens[uU].* \ -"unhook send-hook;\ -set from = ryan.kavanagh@queensu.ca;\ -set sendmail="MSMTP_PATH -a queensu"\ -unset smtp_url;\ -unset smtp_pass;\ -set record='=QueensU.Sent Items';\ -set postponed='=QueensU.Drafts';\ -set pager_format = '-%Z-QUEENS: %C/%m: %-20.20n %s';\ -set compose_format = '-- QUEENS: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-QUEENS: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" - -folder-hook .*McGill.* \ -"unhook send-hook;\ -set from = ryan.kavanagh@mail.mcgill.ca;\ -set sendmail="MSMTP_PATH -a mcgill" unset smtp_url;\ unset smtp_pass;\ -set record='=McGill.Sent Items';\ -set postponed='=McGill.Drafts';\ -set pager_format = '-%Z-McGILL: %C/%m: %-20.20n %s';\ -set compose_format = '-- McGILL: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-McGILL: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" - -folder-hook .*McGSOCS.* \ -"unhook send-hook;\ -set from = ryank@cs.mcgill.ca;\ -set sendmail="MSMTP_PATH -a mcgillsocs" -unset smtp_url;\ -unset smtp_pass;\ -set record='=McGill.Sent Items';\ -set postponed='=McGill.Drafts';\ -set pager_format = '-%Z-McGSOCS: %C/%m: %-20.20n %s';\ -set compose_format = '-- McGSOCS: Compose [Approx. msg size: %l Atts: %a]%>-';\ -set status_format = '-%r-McGSOCS: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" +set sendmail = 'MSMTP_PATH -a cmuscs';\ +set from = 'Ryan Kavanagh ';\ +set pager_format = '-%Z-CMU SCS: %C/%m: %-20.20n %s';\ +set compose_format = '-- CMU SCS: Compose [Approx. msg size: %l Atts: %a]%>-';\ +set status_format = '-%r-CMU SCS: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" folder-hook /var/mail/ryan \ "set mbox_type = Maildir;\ @@ -105,17 +99,53 @@ set compose_format = '-- LOCAL: Compose [Approx. msg size: %l Atts: %a]%>-';\ set status_format = '-%r-LOCAL: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'" -macro index "cimaps://imap.gmail.com/INBOX" +macro index "cimaps://ryanakca@gmail.com@imap.gmail.com/INBOX" macro index "cimap://localhost/INBOX" macro index "cimaps://mail.queensu.ca/Inbox" -macro compose 'set sendmail="MSMTP_PATH -a ubuntu"unset smtp_urlunset smtp_passRyan Kavanagh set postponed="=[Google Mail]/Drafts"' "Sent mail from Ubuntu account" -macro compose 'set sendmail="MSMTP_PATH -a kubuntu"unset smtp_urlunset smtp_passRyan Kavanagh set postponed="=[Google Mail]/Drafts"' "Sent mail from Kubuntu account" -macro compose 'set sendmail="/usr/bin/msmtp -a mcgill"unset smtp_urlunset smtp_passRyan Kavanagh =McGill.Sent Itemsset postponed="=McGill.Drafts"set record="=McGill.Sent Items"' "Sent mail from McGill account" -macro compose 'set sendmail="/usr/bin/msmtp -a mcgillsocs"unset smtp_urlunset smtp_passRyan Kavanagh =McGSOCS.INBOX.Sent Itemsset postponed="=McGSOCS.INBOX.Drafts"set record="=McGSOCS.INBOX.Sent"' "Sent mail from McGill SOCS account" -macro compose 'unset sendmailRyan Kavanagh =QueensU.Sent Itemsset postponed="=QueensU.Drafts"unset smtp_urlset sendmail="MSMTP_PATH -a queensu"set record="=QueensU.Sent Items"' "Sent mail from Queen's account" -macro compose 'set sendmail="MSMTP_PATH -a queensucs"unset smtp_urlunset smtp_passRyan Kavanagh set postponed="=[Google Mail]/Drafts"' "Sent mail from cs.queensu.ca account" -macro compose 'set sendmail="MSMTP_PATH"unset smtp_urlunset smtp_passRyan Kavanagh set postponed="=[Google Mail]/Drafts"' "Sent mail from Debian account" -macro compose 'set sendmail="MSMTP_PATH -a ryanakca"unset smtp_urlunset smtp_passRyan Kavanagh imaps://hermes.ryanak.ca/Sentset postponed="imaps://hermes.ryanak.ca/Drafts"' "Sent mail from ryanak.ca account" +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com:933"\ +\ +set sendmail="MSMTP_PATH -a ubuntu"\ +Ryan Kavanagh ' \ +"Send mail from Ubuntu account" + +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com:933"\ +\ +set sendmail="MSMTP_PATH -a kubuntu"\ +Ryan Kavanagh ' \ +"Send mail from Kubuntu account" + +macro compose 'set folder="imaps://rkavanag@andrew.cmu.edu@imap.gmail.com:933"\ +\ +Ryan Kavanagh ' \ +"Send mail from CMU account" + +macro compose 'set folder="imaps://imap.srv.cs.cmu.edu/"\ +=INBOX.Sent\ +Ryan Kavanagh ' \ +"Send mail from CMU SCS account" + +macro compose 'set folder="imaps://outlook.office365.com"\ +=Sent Items\ +Ryan Kavanagh ' \ +"Send mail from QueensU" + +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com:933"\ +\ +set sendmail="MSMTP_PATH -a queensucs"\ +Ryan Kavanagh ' \ +"Send mail from cs.queensu.ca" + +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com:933"\ +\ +set sendmail="MSMTP_PATH"\ +Ryan Kavanagh ' \ +"Send mail from Debian account" + +macro compose 'set folder="imaps://hermes.ryanak.ca/"\ +=Sent\ +set sendmail="MSMTP_PATH -a ryanakca"\ +Ryan Kavanagh ' \ +"Send mail from ryanak.ca" set certificate_file = '~/.mutt/certs/certificates' -- cgit v1.2.3