From 18cbec62bf8d6eae2fddda19d88491ff6ba596d0 Mon Sep 17 00:00:00 2001 From: quak Date: Mon, 3 Feb 2025 00:09:43 +0100 Subject: [PATCH] started mutt config --- mutt/.config/mutt/accounts | 15 +++++++++++++++ mutt/.config/mutt/muttrc | 33 +++++++++++++++++++++++++++++++++ mutt/.config/mutt/notes | 5 +++++ 3 files changed, 53 insertions(+) create mode 100644 mutt/.config/mutt/accounts create mode 100644 mutt/.config/mutt/muttrc create mode 100644 mutt/.config/mutt/notes diff --git a/mutt/.config/mutt/accounts b/mutt/.config/mutt/accounts new file mode 100644 index 0000000..005fba2 --- /dev/null +++ b/mutt/.config/mutt/accounts @@ -0,0 +1,15 @@ +set imap_user = "jonas.schoenenberger@gmx.ch" +set imap_pass = "dR6%Wj54jMplMEiW3Iuk5s#BTKl5SApC" +set my_base_url = "imap://jonas.schoenenberger@gmx.ch@imap.gmx.net" +set folder = "${my_base_url}:993" +set spoolfile = "${my_base_url}/INBOX" +# set postponed = "${my_base_url}/INBOX.Drafts" +set record = "${my_base_url}/Sent" +set smtp_url = "smtps://jonas.schoenenberger@gmx.ch@mail.gmx.net:465" +set smtp_pass = "dR6%Wj54jMplMEiW3Iuk5s#BTKl5SApC" +# set mailboxes = +INBOX + +# set imap_user =zegonix@gmail.com +# set imap_pass =nerv_nicht +# set folder =imap://zegonix@gmail.com@imap.gmail.com:993 +# set spoolfile =+INBOX diff --git a/mutt/.config/mutt/muttrc b/mutt/.config/mutt/muttrc new file mode 100644 index 0000000..f2271eb --- /dev/null +++ b/mutt/.config/mutt/muttrc @@ -0,0 +1,33 @@ + +# +# Useful link: https://wiki.archlinux.org/title/Mutt#Multiple_accounts +# +# Warning: When one account is setting a variable that is not +# specified for other accounts, you must unset it for them, otherwise +# configuration will overlap and you will most certainly experience +# unexpected behaviour. +# + +set editor = nvim + +# set sort = reverse-date-received + +# Threaded according to the most recent e-mail in a thread, +# this should work: +set sort=threads +set sort_browser=date +set sort_aux=reverse-last-date-received + +bind index G imap-fetch-mail + +# Ctrl U, Ctrl D to navigate inside pager (message body) +bind generic,index,pager \Cf next-page +bind generic,index,pager \Cb previous-page +bind generic,index,pager \Cd half-down +bind generic,index,pager \Cu half-up +set pager_stop = yes + +set ssl_force_tls = "yes" +set ssl_starttls = "yes" + +source ./accounts diff --git a/mutt/.config/mutt/notes b/mutt/.config/mutt/notes new file mode 100644 index 0000000..e2d46bc --- /dev/null +++ b/mutt/.config/mutt/notes @@ -0,0 +1,5 @@ +# mutt + +* how to save received mails locally +* how to set up multiple accounts +