From 34601831dc69e0c149ab13ad8436b143dafd641a Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 24 Aug 2023 14:22:48 -0400 Subject: 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 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'home-config/aerc/accounts.conf') 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 -- cgit v1.2.3