dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit c69840f1a877ba3a296a00131475b6be7e3e34b6
parent 7436f33ac149b4e8907ebbfb7dfadb50f5aa4127
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sun, 18 Aug 2024 23:47:11 +0200

Some email config comments

Diffstat:
Mneomutt/muttrc | 8++++----
Mneomutt/personal | 13++++++++++---
2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/neomutt/muttrc b/neomutt/muttrc @@ -2,13 +2,13 @@ source `{ [ -f ~/.config/dark-theme ] && printf "colors-dark"; } || printf "colors-light";` # Don't ask to press key on shell commands -unset wait_key +set wait_key = no -# Don't move to next message when modifying -- this breaks notmuch macros +# Don't move to next message when modifying -- it would break notmuch macros set resolve = no set mbox_type = Maildir -set mail_check=0 # minimum time between scans +set mail_check=0 # don't want to automatically check new mail (handled by mbsync) unset mark_old # it's enough to see whats unread set mailcap_path = ~/.config/mailcap @@ -111,7 +111,7 @@ macro index ZN "<enter-command>set use_threads=no<Enter>" set edit_headers # show headers when composing set fast_reply # skip to compose when replying set fcc_attach # save attachments with the body -set mime_forward = no # forward attachments as part of body, most clients don't easily show attached message +set mime_forward = no # forwarded message is sent as part of body set forward_format = "Fwd: %s" # format of subject when forwarding set forward_decode # decode when forwarding set attribution = "On %d, %n wrote:" # format of quoting header diff --git a/neomutt/personal b/neomutt/personal @@ -3,16 +3,21 @@ source secret set imap_user=$my_personal_email set imap_pass=$my_personal_pass_cmd +# What neomutt uses to access emails. Populated by `mbsync` set folder = ~/.local/share/mail/$my_personal_email +# Draft emails set postponed = +Drafts +# Trashed emails set trash = +Trash +# Record sent emails (providers like Gmail do this automatically; mine doesn't) set record = +Sent set mbox = +Archive # The setup with regular mutt -# set spoolfile = +Inbox +# Home inbox: +# set spool_file = +Inbox # unmailboxes * -# mailboxes +Inbox +Archive +Drafts +Tickets +Sent +Trash +Spam +# mailboxes +Inbox +Archive +Drafts +Jobs +Sent +Trash +Spam # # But to use notmuch, I need to use virtual mailboxes: # (it's on the wishlist - https://github.com/neomutt/neomutt/issues/742) @@ -23,14 +28,16 @@ virtual-mailboxes \ "Archive (2M) (P)" "notmuch://?query=folder:$my_personal_email/Archive and date:2M..today" \ "Drafts (P)" "notmuch://?query=folder:$my_personal_email/Drafts" \ "Follow-up (P)" "notmuch://?query=folder:/$my_personal_email/ and tag:followup" \ - "Tickets (P)" "notmuch://?query=folder:$my_personal_email/Tickets" \ + "Jobs (P)" "notmuch://?query=folder:$my_personal_email/Jobs" \ "Sent (P)" "notmuch://?query=folder:$my_personal_email/Sent" \ "Trash (P)" "notmuch://?query=folder:$my_personal_email/Trash" \ "Spam (P)" "notmuch://?query=folder:$my_personal_email/Spam" \ "Archive (All) (P)" "notmuch://?query=folder:$my_personal_email/Archive" +# Home inbox: set spool_file = "Inbox (P)" +# Caching emails set header_cache = '~/.cache/neomutt/$my_personal_email/headers' set message_cachedir = '~/.cache/neomutt/$my_personal_email/bodies'