diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-08-24 14:22:48 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-08-24 14:22:48 -0400 |
commit | 34601831dc69e0c149ab13ad8436b143dafd641a (patch) | |
tree | 8f99f2e220e586f60e3fbf4ea7962de5b74f3d00 | |
parent | a960b899d6b286bea9c36e130b33f551d50f27aa (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.conf | 13 | ||||
-rw-r--r-- | home-config/aerc/aerc.conf | 4 | ||||
-rw-r--r-- | home-config/aerc/signature_rit_personal | 6 |
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] |
2 | source = imaps://ryan%40rschanz.org@mail.rschanz.org:993 | 2 | source = imaps://ryan%40rschanz.org@mail.rschanz.org:993 |
3 | source-cred-cmd = sh -c "cat ~/Documents/eml.pw" | 3 | source-cred-cmd = cat ~/Documents/email_creds/personal.pw |
4 | outgoing = smtps://ryan%40rschanz.org@mail.rschanz.org:465 | 4 | outgoing = smtps://ryan%40rschanz.org@mail.rschanz.org:465 |
5 | outgoing-cred-cmd = sh -c "cat ~/Documents/eml.pw" | 5 | outgoing-cred-cmd = sh -c "cat ~/Documents/eml.pw" |
6 | default = INBOX | 6 | default = INBOX |
@@ -8,3 +8,14 @@ from = Ryan Schanzenbacher <ryan@rschanz.org> | |||
8 | copy-to = Sent | 8 | copy-to = Sent |
9 | signature-file = ~/.config/aerc/signature_personal | 9 | signature-file = ~/.config/aerc/signature_personal |
10 | check-mail = 5m | 10 | check-mail = 5m |
11 | |||
12 | [School] | ||
13 | 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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 | ||
14 | source-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw | ||
15 | outgoing = smtps+oauthbearer://rjs1877%40rit.edu@imap.gmail.com:465?token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken | ||
16 | outgoing-cred-cmd = cat ~/Documents/email_creds/rit_personal.pw | ||
17 | from = Ryan Schanzenbacher <rjs1877@rit.edu> | ||
18 | signature-file = ~/.config/aerc/signature_rit_personal | ||
19 | check-mail = 5m | ||
20 | default = INBOX | ||
21 | 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 @@ | |||
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= | 9 | default-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): |
453 | text/html=pandoc -f markdown -t html --standalone | 453 | text/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 | |||
3 | Best, | ||
4 | Ryan Schanzenbacher | ||
5 | Rochester Institute of Technology | ||
6 | Cybersecurity BS/MS Student | ||