diff options
-rw-r--r-- | muttrc | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -71,18 +71,21 @@ account-hook "$my_mythic" 'set smtp_pass = `pass www/mythic-beasts/email/timo | account-hook "$my_mythic" 'set spool_file = +INBOX' account-hook "$my_mythic" 'set postponed = +Drafts' account-hook "$my_mythic" 'set record = +Sent' -account-hook "$my_mythic" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 imap_authenticators imap_oauth_refresh_command' +account-hook "$my_mythic" 'set from = "$imap_user"' +account-hook "$my_mythic" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 smtp_authenticators imap_authenticators imap_oauth_refresh_command' set my_cern = "imaps://imap.cern.ch/" account-hook "$my_cern" 'set folder = "$my_cern"' -account-hook "$my_cern" 'set smtp_url = "smtps://smtp.cern.ch"' +account-hook "$my_cern" 'set smtp_url = "smtp://smtp.cern.ch:587"' # we need to rely on STARTTLS account-hook "$my_cern" 'set imap_user = "twilken"' account-hook "$my_cern" 'set smtp_user = "twilken"' account-hook "$my_cern" 'set imap_pass = `pass cern/sso | head -1`' account-hook "$my_cern" 'set smtp_pass = `pass cern/sso | head -1`' +account-hook "$my_cern" 'set smtp_authenticators = "login"' # only LOGIN supported, not even PLAIN account-hook "$my_cern" 'set spool_file = +INBOX' account-hook "$my_cern" 'set postponed = +Drafts' account-hook "$my_cern" 'set record = "+Sent Items"' +account-hook "$my_cern" 'set from = "$imap_user"' account-hook "$my_cern" 'set ssl_use_tlsv1 = yes' # imap.cern.ch needs this; ... account-hook "$my_cern" 'set ssl_use_tlsv1_1 = yes' # ...make sure to reset for other accounts! account-hook "$my_cern" 'reset imap_authenticators imap_oauth_refresh_command' @@ -97,13 +100,14 @@ account-hook "$my_gmail" 'set smtp_pass = `pass www/google/app-passwords/mutt | account-hook "$my_gmail" 'set spool_file = +INBOX' account-hook "$my_gmail" 'set postponed = "+[Gmail]/Drafts"' account-hook "$my_gmail" 'set record = "+[Gmail]/Sent Mail"' -account-hook "$my_gmail" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 imap_authenticators imap_oauth_refresh_command' +account-hook "$my_gmail" 'set from = "$imap_user"' +account-hook "$my_gmail" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 smtp_authenticators imap_authenticators imap_oauth_refresh_command' # ExOl needs OAUTH now! # https://neomutt.org/guide/optionalfeatures.html#oauth set my_cantab = "imaps://tw466@cantab.ac.uk@outlook.office365.com/" account-hook "$my_cantab" 'set folder = "$my_cantab"' -account-hook "$my_cantab" 'set smtp_url = "smtps://smtp-mail.outlook.com"' +account-hook "$my_cantab" 'set smtp_url = "smtp://smtp-mail.outlook.com:587"' account-hook "$my_cantab" 'set imap_user = "tw466@cantab.ac.uk"' account-hook "$my_cantab" 'set smtp_user = "tw466@cantab.ac.uk"' account-hook "$my_cantab" 'set imap_pass = `pass cambridge/raven | head -1`' @@ -111,14 +115,15 @@ account-hook "$my_cantab" 'set smtp_pass = `pass cambridge/raven | head -1`' account-hook "$my_cantab" 'set spool_file = +INBOX' account-hook "$my_cantab" 'set postponed = +Drafts' account-hook "$my_cantab" 'set record = +Sent' -account-hook "$my_cantab" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1' +account-hook "$my_cantab" 'set from = "$imap_user"' +account-hook "$my_cantab" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 smtp_authenticators' account-hook "$my_cantab" 'set imap_authenticators = "oauthbearer:xoauth2"' # TODO: replace YOUR_GPG_IDENTITY string in mutt_oauth2.py. account-hook "$my_cantab" 'set imap_oauth_refresh_command = "python3 ~/.guix-home/profile/share/doc/neomutt/oauth2/mutt_oauth2.py ~/.local/share/neomutt/cantab.gpg"' set my_outlook = "imaps://timo_wilken@live.co.uk@outlook.office365.com/" account-hook "$my_outlook" 'set folder = "$my_outlook"' -account-hook "$my_outlook" 'set smtp_url = "smtps://smtp-mail.outlook.com"' +account-hook "$my_outlook" 'set smtp_url = "smtp://smtp-mail.outlook.com:587"' account-hook "$my_outlook" 'set imap_user = "timo_wilken@live.co.uk"' account-hook "$my_outlook" 'set smtp_user = "timo_wilken@live.co.uk"' account-hook "$my_outlook" 'set imap_pass = `pass www/microsoft | head -1`' @@ -126,7 +131,8 @@ account-hook "$my_outlook" 'set smtp_pass = `pass www/microsoft | head -1`' account-hook "$my_outlook" 'set spool_file = +INBOX' account-hook "$my_outlook" 'set postponed = +Drafts' account-hook "$my_outlook" 'set record = +Sent' -account-hook "$my_outlook" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1' +account-hook "$my_outlook" 'set from = "$imap_user"' +account-hook "$my_outlook" 'reset ssl_use_tlsv1 ssl_use_tlsv1_1 smtp_authenticators' account-hook "$my_cantab" 'set imap_authenticators = "oauthbearer:xoauth2"' # TODO: replace YOUR_GPG_IDENTITY string in mutt_oauth2.py. account-hook "$my_cantab" 'set imap_oauth_refresh_command = "python3 ~/.guix-home/profile/share/doc/neomutt/oauth2/mutt_oauth2.py ~/.local/share/neomutt/outlook.gpg"' |