From 34601831dc69e0c149ab13ad8436b143dafd641a Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 24 Aug 2023 14:22:48 -0400 Subject: [PATCH] Added school gmail to aerc Yes yes I know I have the client secret for oauth in there. I disabled granting tokens though so you shouldn't be able to use it regardless unless you have a pre-existing refresh token, so all should be well :) --- home-config/aerc/accounts.conf | 13 ++++++++++++- home-config/aerc/aerc.conf | 4 ++-- home-config/aerc/signature_rit_personal | 6 ++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 home-config/aerc/signature_rit_personal diff --git a/home-config/aerc/accounts.conf b/home-config/aerc/accounts.conf index 239a2c1..ff06cee 100644 --- a/home-config/aerc/accounts.conf +++ b/home-config/aerc/accounts.conf @@ -1,6 +1,6 @@ [Personal] source = imaps://ryan%40rschanz.org@mail.rschanz.org:993 -source-cred-cmd = sh -c "cat ~/Documents/eml.pw" +source-cred-cmd = cat ~/Documents/email_creds/personal.pw outgoing = smtps://ryan%40rschanz.org@mail.rschanz.org:465 outgoing-cred-cmd = sh -c "cat ~/Documents/eml.pw" default = INBOX @@ -8,3 +8,14 @@ from = Ryan Schanzenbacher copy-to = Sent signature-file = ~/.config/aerc/signature_personal check-mail = 5m + +[School] +source = imaps+oauthbearer://rjs1877%40rit.edu@imap.gmail.com:993?token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken&client_id=667738788924-0rdfvaq9ijfo1vk4474eb3quf8206h2t.apps.googleusercontent.com&client_secret=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 +source-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw +outgoing = smtps+oauthbearer://rjs1877%40rit.edu@imap.gmail.com:465?token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken +outgoing-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw +from = Ryan Schanzenbacher +signature-file = ~/.config/aerc/signature_rit_personal +check-mail = 5m +default = INBOX +copy-to = [Gmail]/Sent Mail diff --git a/home-config/aerc/aerc.conf b/home-config/aerc/aerc.conf index 0a206c6..ec469ae 100644 --- a/home-config/aerc/aerc.conf +++ b/home-config/aerc/aerc.conf @@ -6,7 +6,7 @@ # Used as a default path for save operations if no other path is specified. # ~ is expanded to the current user home dir. # -#default-save-path= +default-save-path=~/Downloads/ # If set to "gpg", aerc will use system gpg binary and keystore for all crypto # operations. If set to "internal", the internal openpgp keyring will be used. @@ -450,7 +450,7 @@ file-picker-cmd=fzf --multi --query=%s # # Example (obviously, this requires that you write your main text/plain body # using the markdown syntax): -text/html=pandoc -f markdown -t html --standalone +text/html=pandoc --wrap=preserve -f markdown -t html --standalone [filters] # diff --git a/home-config/aerc/signature_rit_personal b/home-config/aerc/signature_rit_personal new file mode 100644 index 0000000..af697e1 --- /dev/null +++ b/home-config/aerc/signature_rit_personal @@ -0,0 +1,6 @@ +-- + +Best, +Ryan Schanzenbacher +Rochester Institute of Technology +Cybersecurity BS/MS Student