diff options
author | Timo Wilken | 2023-03-29 13:29:17 +0200 |
---|---|---|
committer | Timo Wilken | 2023-03-29 13:29:17 +0200 |
commit | 8b3dc02fbc0ce3b7392c443f532cbcb9bbfffb14 (patch) | |
tree | e4dea8447a14ba10fe737a33e3cce17fcaaab8a6 | |
parent | 253526bfd3e60e4e0ca5286555a98b00e476a099 (diff) |
Move to evil, evil ExOl for work mail
-rw-r--r-- | tw/home/files/aerc/accounts.conf | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/tw/home/files/aerc/accounts.conf b/tw/home/files/aerc/accounts.conf index 85a6c92f..16b9ac76 100644 --- a/tw/home/files/aerc/accounts.conf +++ b/tw/home/files/aerc/accounts.conf @@ -1,12 +1,17 @@ [CERN] -source = imaps+insecure://twilken@imap.cern.ch -outgoing = smtp+login://twilken@smtp.cern.ch -source-cred-cmd = pass cern/sso | head -1 -outgoing-cred-cmd = pass cern/sso | head -1 +source = imaps+xoauth2://timo.wilken%40cern.ch@outlook.office365.com +outgoing = smtp+xoauth2://timo.wilken%40cern.ch@smtp.office365.com +smtp-starttls = true +# To authorize for the first time: +# mutt_oauth2.py ~/.local/share/aerc/twilken.tokens --authorize --authflow authcode --provider microsoft \ +# --email timo.wilken@cern.ch --client-id 9e5f94bc-e8a4-4e73-b8be-63364c29d753 --client-secret '' \ +# --encryption-pipe 'gpg --encrypt --recipient C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C' +# Confirm empty client secret. When done, copy-paste ?code= value from final URL to the command-line. +source-cred-cmd = mutt_oauth2.py ~/.local/share/aerc/twilken.tokens +outgoing-cred-cmd = mutt_oauth2.py ~/.local/share/aerc/twilken.tokens default = INBOX -smtp-starttls = yes from = Timo Wilken <timo.wilken@cern.ch> aliases = twilken@cern.ch -copy-to = Sent +copy-to = Sent Items postpone = Drafts cache-headers = true |