summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2023-08-24 14:22:48 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2023-08-24 14:22:48 -0400
commit34601831dc69e0c149ab13ad8436b143dafd641a (patch)
tree8f99f2e220e586f60e3fbf4ea7962de5b74f3d00
parenta960b899d6b286bea9c36e130b33f551d50f27aa (diff)
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 :)
-rw-r--r--home-config/aerc/accounts.conf13
-rw-r--r--home-config/aerc/aerc.conf4
-rw-r--r--home-config/aerc/signature_rit_personal6
3 files changed, 20 insertions, 3 deletions
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 @@
1[Personal] 1[Personal]
2source = imaps://ryan%40rschanz.org@mail.rschanz.org:993 2source = imaps://ryan%40rschanz.org@mail.rschanz.org:993
3source-cred-cmd = sh -c "cat ~/Documents/eml.pw" 3source-cred-cmd = cat ~/Documents/email_creds/personal.pw
4outgoing = smtps://ryan%40rschanz.org@mail.rschanz.org:465 4outgoing = smtps://ryan%40rschanz.org@mail.rschanz.org:465
5outgoing-cred-cmd = sh -c "cat ~/Documents/eml.pw" 5outgoing-cred-cmd = sh -c "cat ~/Documents/eml.pw"
6default = INBOX 6default = INBOX
@@ -8,3 +8,14 @@ from = Ryan Schanzenbacher <ryan@rschanz.org>
8copy-to = Sent 8copy-to = Sent
9signature-file = ~/.config/aerc/signature_personal 9signature-file = ~/.config/aerc/signature_personal
10check-mail = 5m 10check-mail = 5m
11
12[School]
13source = 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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
14source-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw
15outgoing = smtps+oauthbearer://rjs1877%40rit.edu@imap.gmail.com:465?token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken
16outgoing-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw
17from = Ryan Schanzenbacher <rjs1877@rit.edu>
18signature-file = ~/.config/aerc/signature_rit_personal
19check-mail = 5m
20default = INBOX
21copy-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 @@
6# Used as a default path for save operations if no other path is specified. 6# Used as a default path for save operations if no other path is specified.
7# ~ is expanded to the current user home dir. 7# ~ is expanded to the current user home dir.
8# 8#
9#default-save-path= 9default-save-path=~/Downloads/
10 10
11# If set to "gpg", aerc will use system gpg binary and keystore for all crypto 11# If set to "gpg", aerc will use system gpg binary and keystore for all crypto
12# operations. If set to "internal", the internal openpgp keyring will be used. 12# operations. If set to "internal", the internal openpgp keyring will be used.
@@ -450,7 +450,7 @@ file-picker-cmd=fzf --multi --query=%s
450# 450#
451# Example (obviously, this requires that you write your main text/plain body 451# Example (obviously, this requires that you write your main text/plain body
452# using the markdown syntax): 452# using the markdown syntax):
453text/html=pandoc -f markdown -t html --standalone 453text/html=pandoc --wrap=preserve -f markdown -t html --standalone
454 454
455[filters] 455[filters]
456# 456#
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 @@
1--
2
3Best,
4Ryan Schanzenbacher
5Rochester Institute of Technology
6Cybersecurity BS/MS Student