From 09a07dab284f1e8faf06fd1a82f0a771e0e8786d Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 28 Jun 2022 14:54:04 -0400 Subject: mutt --- dot_mutt/accounts.rc | 80 +++++++++++++++++++++ dot_mutt/accounts.rc.tmpl | 80 --------------------- dot_mutt/accounts/queensu.ca/private_read.rc.tmpl | 8 +++ dot_mutt/accounts/queensu.ca/read.rc | 8 --- dot_mutt/accounts/queensu.ca/send.rc | 6 +- dot_mutt/accounts/rak.rak.ac/private_read.rc.tmpl | 5 ++ dot_mutt/accounts/rak.rak.ac/read.rc | 5 -- dot_mutt/accounts/rak.rak.ac/send.rc | 3 +- .../rkavanag.alumni.cmu.edu/private_read.rc.tmpl | 6 ++ dot_mutt/accounts/rkavanag.alumni.cmu.edu/read.rc | 6 -- dot_mutt/accounts/rkavanag.alumni.cmu.edu/send.rc | 7 +- .../ryanakca.gmail.com/private_read.rc.tmpl | 5 ++ dot_mutt/accounts/ryanakca.gmail.com/read.rc | 5 -- dot_mutt/accounts/ryanakca.gmail.com/send.rc | 5 +- .../ryank.mail.cs.mcgill.ca/private_read.rc.tmpl | 5 ++ dot_mutt/accounts/ryank.mail.cs.mcgill.ca/read.rc | 5 -- dot_mutt/accounts/ryank.mail.cs.mcgill.ca/send.rc | 5 +- dot_mutt/encrypted_private_alias.rc.asc | Bin 4217 -> 3096 bytes 18 files changed, 120 insertions(+), 124 deletions(-) create mode 100644 dot_mutt/accounts.rc delete mode 100644 dot_mutt/accounts.rc.tmpl create mode 100644 dot_mutt/accounts/queensu.ca/private_read.rc.tmpl delete mode 100644 dot_mutt/accounts/queensu.ca/read.rc create mode 100644 dot_mutt/accounts/rak.rak.ac/private_read.rc.tmpl delete mode 100644 dot_mutt/accounts/rak.rak.ac/read.rc create mode 100644 dot_mutt/accounts/rkavanag.alumni.cmu.edu/private_read.rc.tmpl delete mode 100644 dot_mutt/accounts/rkavanag.alumni.cmu.edu/read.rc create mode 100644 dot_mutt/accounts/ryanakca.gmail.com/private_read.rc.tmpl delete mode 100644 dot_mutt/accounts/ryanakca.gmail.com/read.rc create mode 100644 dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl delete mode 100644 dot_mutt/accounts/ryank.mail.cs.mcgill.ca/read.rc diff --git a/dot_mutt/accounts.rc b/dot_mutt/accounts.rc new file mode 100644 index 0000000..1deb74b --- /dev/null +++ b/dot_mutt/accounts.rc @@ -0,0 +1,80 @@ +# vim: syntax=muttrc + +account-hook imaps://ryanakca@gmail.com@imap.gmail.com \ + source ~/.mutt/accounts/ryanakca.gmail.com/main.rc + +account-hook imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com \ + source ~/.mutt/accounts/ryan.kavanagh.mcgill.ca/main.rc + +account-hook imaps://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com \ + source ~/.mutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc + +account-hook imaps://9rak@queensu.ca@outlook.office365.com \ + source ~/.mutt/accounts/9rak.queensu.ca/main.rc + +account-hook imaps://imap.rak.ac \ + source ~/.mutt/accounts/rak.rak.ac/main.rc + +account-hook imaps://mail.cs.mcgill.ca \ + source ~/.mutt/accounts/ryank.mail.cs.mcgill.ca/main.rc + +account-hook imaps://rkavanag@alumni.cmu.edu@imap.gmail.com \ + source ~/.mutt/accounts/rkavanag.alumni.cmu.edu/main.rc + +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ +\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from Ubuntu account" + +macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ +\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from Kubuntu account" + +macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ +\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from CMU Alumni account" + +macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ +\ +set sendmail="sendmail -oem -oi"\ +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"\ +\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from cs.queensu.ca" + +macro compose 'set folder="imaps://imap.rak.ac/"\ +=Sent\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from Debian account" + +macro compose 'set folder="imaps://imap.rak.ac/"\ +=Sent\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from rak.ac" + +macro compose 'set folder="imaps://mail.cs.mcgill.ca/"\ +=INBOX.Sent\ +set sendmail="sendmail -oem -oi"\ +Ryan Kavanagh ' \ +"Send mail from McGill SOCS account" + +macro compose 'set folder="imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com"\ +\ +Ryan Kavanagh ' \ +"Send mail from McGill Staff account" diff --git a/dot_mutt/accounts.rc.tmpl b/dot_mutt/accounts.rc.tmpl deleted file mode 100644 index 1deb74b..0000000 --- a/dot_mutt/accounts.rc.tmpl +++ /dev/null @@ -1,80 +0,0 @@ -# vim: syntax=muttrc - -account-hook imaps://ryanakca@gmail.com@imap.gmail.com \ - source ~/.mutt/accounts/ryanakca.gmail.com/main.rc - -account-hook imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com \ - source ~/.mutt/accounts/ryan.kavanagh.mcgill.ca/main.rc - -account-hook imaps://ryan.kavanagh@mail.mcgill.ca@outlook.office365.com \ - source ~/.mutt/accounts/ryan.kavanagh.mail.mcgill.ca/main.rc - -account-hook imaps://9rak@queensu.ca@outlook.office365.com \ - source ~/.mutt/accounts/9rak.queensu.ca/main.rc - -account-hook imaps://imap.rak.ac \ - source ~/.mutt/accounts/rak.rak.ac/main.rc - -account-hook imaps://mail.cs.mcgill.ca \ - source ~/.mutt/accounts/ryank.mail.cs.mcgill.ca/main.rc - -account-hook imaps://rkavanag@alumni.cmu.edu@imap.gmail.com \ - source ~/.mutt/accounts/rkavanag.alumni.cmu.edu/main.rc - -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Ubuntu account" - -macro compose 'set folder="imaps://ryanakca@gmail.com@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Kubuntu account" - -macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from CMU Alumni account" - -macro compose 'set folder="imaps://rkavanag@alumni.cmu.edu@imap.gmail.com"\ -\ -set sendmail="sendmail -oem -oi"\ -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"\ -\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from cs.queensu.ca" - -macro compose 'set folder="imaps://imap.rak.ac/"\ -=Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from Debian account" - -macro compose 'set folder="imaps://imap.rak.ac/"\ -=Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from rak.ac" - -macro compose 'set folder="imaps://mail.cs.mcgill.ca/"\ -=INBOX.Sent\ -set sendmail="sendmail -oem -oi"\ -Ryan Kavanagh ' \ -"Send mail from McGill SOCS account" - -macro compose 'set folder="imaps://ryan.kavanagh@mcgill.ca@outlook.office365.com"\ -\ -Ryan Kavanagh ' \ -"Send mail from McGill Staff account" diff --git a/dot_mutt/accounts/queensu.ca/private_read.rc.tmpl b/dot_mutt/accounts/queensu.ca/private_read.rc.tmpl new file mode 100644 index 0000000..2e9ebc5 --- /dev/null +++ b/dot_mutt/accounts/queensu.ca/private_read.rc.tmpl @@ -0,0 +1,8 @@ +# vim: syntax=muttrc + +set imap_authenticators = 'xoauth2' +set imap_login = '9rak@queensu.ca' +set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token' +set imap_passive = 'no' +set imap_user = '9rak@queensu.ca' +unset imap_pass diff --git a/dot_mutt/accounts/queensu.ca/read.rc b/dot_mutt/accounts/queensu.ca/read.rc deleted file mode 100644 index 2e9ebc5..0000000 --- a/dot_mutt/accounts/queensu.ca/read.rc +++ /dev/null @@ -1,8 +0,0 @@ -# vim: syntax=muttrc - -set imap_authenticators = 'xoauth2' -set imap_login = '9rak@queensu.ca' -set imap_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token' -set imap_passive = 'no' -set imap_user = '9rak@queensu.ca' -unset imap_pass diff --git a/dot_mutt/accounts/queensu.ca/send.rc b/dot_mutt/accounts/queensu.ca/send.rc index 720552a..4f8b673 100644 --- a/dot_mutt/accounts/queensu.ca/send.rc +++ b/dot_mutt/accounts/queensu.ca/send.rc @@ -1,12 +1,10 @@ # vim: syntax=muttrc set copy = yes - set from = 'Ryan Kavanagh ' - -set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/' set smtp_authenticators = 'xoauth2' set smtp_oauth_refresh_command = '~/bin/mutt_oauth2.py ~/.mutt/xoauth2-queensu.ca-token' +set smtp_url = 'smtp://9rak@queensu.ca@smtp.office365.com:587/' -unset smtp_pass unset sendmail +unset smtp_pass diff --git a/dot_mutt/accounts/rak.rak.ac/private_read.rc.tmpl b/dot_mutt/accounts/rak.rak.ac/private_read.rc.tmpl new file mode 100644 index 0000000..5eec2e9 --- /dev/null +++ b/dot_mutt/accounts/rak.rak.ac/private_read.rc.tmpl @@ -0,0 +1,5 @@ +# vim: syntax=muttrc + +set imap_delim_chars = '/' +set imap_pass = '{{ .password.rakac }}' +set imap_user = 'rak' diff --git a/dot_mutt/accounts/rak.rak.ac/read.rc b/dot_mutt/accounts/rak.rak.ac/read.rc deleted file mode 100644 index 5eec2e9..0000000 --- a/dot_mutt/accounts/rak.rak.ac/read.rc +++ /dev/null @@ -1,5 +0,0 @@ -# vim: syntax=muttrc - -set imap_delim_chars = '/' -set imap_pass = '{{ .password.rakac }}' -set imap_user = 'rak' diff --git a/dot_mutt/accounts/rak.rak.ac/send.rc b/dot_mutt/accounts/rak.rak.ac/send.rc index 4dda27a..b8d61e1 100644 --- a/dot_mutt/accounts/rak.rak.ac/send.rc +++ b/dot_mutt/accounts/rak.rak.ac/send.rc @@ -1,7 +1,8 @@ # vim: syntax=muttrc +set copy = yes set from = 'Ryan Kavanagh ' - set sendmail = 'sendmail -oem -oi' + unset smtp_pass unset smtp_url diff --git a/dot_mutt/accounts/rkavanag.alumni.cmu.edu/private_read.rc.tmpl b/dot_mutt/accounts/rkavanag.alumni.cmu.edu/private_read.rc.tmpl new file mode 100644 index 0000000..a2c6733 --- /dev/null +++ b/dot_mutt/accounts/rkavanag.alumni.cmu.edu/private_read.rc.tmpl @@ -0,0 +1,6 @@ +# vim: syntax=muttrc + +set imap_keepalive = 60 +set imap_pass = '{{ .password.cmu }}' +set imap_passive = 'no' +set imap_user = 'rkavanag@alumni.cmu.edu' diff --git a/dot_mutt/accounts/rkavanag.alumni.cmu.edu/read.rc b/dot_mutt/accounts/rkavanag.alumni.cmu.edu/read.rc deleted file mode 100644 index a2c6733..0000000 --- a/dot_mutt/accounts/rkavanag.alumni.cmu.edu/read.rc +++ /dev/null @@ -1,6 +0,0 @@ -# vim: syntax=muttrc - -set imap_keepalive = 60 -set imap_pass = '{{ .password.cmu }}' -set imap_passive = 'no' -set imap_user = 'rkavanag@alumni.cmu.edu' diff --git a/dot_mutt/accounts/rkavanag.alumni.cmu.edu/send.rc b/dot_mutt/accounts/rkavanag.alumni.cmu.edu/send.rc index 428e1b2..46640c2 100644 --- a/dot_mutt/accounts/rkavanag.alumni.cmu.edu/send.rc +++ b/dot_mutt/accounts/rkavanag.alumni.cmu.edu/send.rc @@ -1,9 +1,8 @@ # vim: syntax=muttrc +set copy = no set from = 'Ryan Kavanagh ' +set sendmail = 'sendmail -oem -oi' -set copy = 'no' -set sendmail='sendmail -oem -oi' - -unset smtp_url unset smtp_pass +unset smtp_url diff --git a/dot_mutt/accounts/ryanakca.gmail.com/private_read.rc.tmpl b/dot_mutt/accounts/ryanakca.gmail.com/private_read.rc.tmpl new file mode 100644 index 0000000..c09f92a --- /dev/null +++ b/dot_mutt/accounts/ryanakca.gmail.com/private_read.rc.tmpl @@ -0,0 +1,5 @@ +# vim: syntax=muttrc + +set imap_pass = '{{ .password.gmail }}' +set imap_passive = 'no' +set imap_user = 'ryanakca@gmail.com' diff --git a/dot_mutt/accounts/ryanakca.gmail.com/read.rc b/dot_mutt/accounts/ryanakca.gmail.com/read.rc deleted file mode 100644 index c09f92a..0000000 --- a/dot_mutt/accounts/ryanakca.gmail.com/read.rc +++ /dev/null @@ -1,5 +0,0 @@ -# vim: syntax=muttrc - -set imap_pass = '{{ .password.gmail }}' -set imap_passive = 'no' -set imap_user = 'ryanakca@gmail.com' diff --git a/dot_mutt/accounts/ryanakca.gmail.com/send.rc b/dot_mutt/accounts/ryanakca.gmail.com/send.rc index 5e84f84..6df9cc1 100644 --- a/dot_mutt/accounts/ryanakca.gmail.com/send.rc +++ b/dot_mutt/accounts/ryanakca.gmail.com/send.rc @@ -1,9 +1,8 @@ # vim: syntax=muttrc -set from = 'Ryan Kavanagh ' - set copy = no +set from = 'Ryan Kavanagh ' set sendmail = 'sendmail -oem -oi' -unset smtp_url unset smtp_pass +unset smtp_url diff --git a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl new file mode 100644 index 0000000..9ac8fee --- /dev/null +++ b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/private_read.rc.tmpl @@ -0,0 +1,5 @@ +# vim: syntax=muttrc + +set imap_user = 'ryank' +set imap_pass = '{{ .password.socs }}' +set imap_delim_chars = '.' diff --git a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/read.rc b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/read.rc deleted file mode 100644 index 9ac8fee..0000000 --- a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/read.rc +++ /dev/null @@ -1,5 +0,0 @@ -# vim: syntax=muttrc - -set imap_user = 'ryank' -set imap_pass = '{{ .password.socs }}' -set imap_delim_chars = '.' diff --git a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/send.rc b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/send.rc index ddd1603..fc5b2da 100644 --- a/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/send.rc +++ b/dot_mutt/accounts/ryank.mail.cs.mcgill.ca/send.rc @@ -1,9 +1,8 @@ # vim: syntax=muttrc -set from = 'Ryan Kavanagh ' - set copy = yes +set from = 'Ryan Kavanagh ' set sendmail = 'sendmail -oem -oi' -unset smtp_url unset smtp_pass +unset smtp_url diff --git a/dot_mutt/encrypted_private_alias.rc.asc b/dot_mutt/encrypted_private_alias.rc.asc index 6b7afac..69974f7 100644 Binary files a/dot_mutt/encrypted_private_alias.rc.asc and b/dot_mutt/encrypted_private_alias.rc.asc differ -- cgit v1.2.3