From 5b0f70233edc1f527c977ce1379734e1389e20f4 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sun, 11 Dec 2022 17:45:15 +0100 Subject: Fix default mail folders --- muttrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'muttrc') diff --git a/muttrc b/muttrc index e5f6b106..858d99a5 100644 --- a/muttrc +++ b/muttrc @@ -86,6 +86,7 @@ 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" 'set trash = +Rubbish' 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' @@ -102,6 +103,7 @@ account-hook "$my_cern" "alternates '^timo\.wilken@cern\.ch$' '^twilken@cern\.ch 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 trash = "+Deleted Items"' account-hook "$my_cern" 'set from = "$imap_user"' account-hook "$my_cern" 'set ssl_use_tlsv1 ssl_use_tlsv1_1' # imap.cern.ch needs this; make sure to reset for other accounts! account-hook "$my_cern" 'reset imap_authenticators imap_oauth_refresh_command' @@ -117,6 +119,7 @@ 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" 'set trash = "+[Gmail]/Bin"' 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' @@ -132,7 +135,8 @@ account-hook "$my_cantab" 'set imap_pass = `pass cambridge/raven | head -1`' 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" 'set record = "+Sent Items"' +account-hook "$my_cantab" 'set trash = "+Deleted Items"' 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 = "xoauth2"' @@ -149,6 +153,7 @@ 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" 'set trash = +Deleted' 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_outlook" 'set imap_authenticators = "xoauth2"' -- cgit v1.2.3