switch to using offlineimap instead of neomutt directly for pulling emails

This commit is contained in:
JesseBot 2023-01-01 16:17:26 +00:00
parent 6151978c40
commit 1d647f2cad

View file

@ -23,6 +23,8 @@ unset help
# sort the inbox by newest first # sort the inbox by newest first
set sort = reverse-threads set sort = reverse-threads
set sidebar_visible = yes
# ----------------- viewing email attachments ------------------- # ----------------- viewing email attachments -------------------
@ -85,20 +87,14 @@ source ~/.config/neomutt/key_bindings.neomuttrc
# Local protonmail-bridge host server: 127.0.0.1 # Local protonmail-bridge host server: 127.0.0.1
# Protonmail-bridge imap port: 1143 # Protonmail-bridge imap port: 1143
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #
set imap_user = $my_user
set imap_pass = $my_pass
# ("+" substitutes for `folder`) # ("+" substitutes for `folder`)
set mbox_type = Maildir set mbox_type = Maildir
set folder = imap://127.0.0.1:1143/ set folder = ~/.local/share/offlineimap
source ~/.config/neomutt/mailboxes
set record = +Sent set record = +Sent
set postponed = +Drafts set postponed = +Drafts
# Specify where to save and/or look for postponed messages.
# set postponed = +[Protonmail]/Drafts
set trash = +Trash set trash = +Trash
set spoolfile = +INBOX set spoolfile = +INBOX
mailboxes = +INBOX +Drafts +Sent +Trash
# ----------------------------- Caching --------------------------------- # ----------------------------- Caching ---------------------------------
# Store message headers locally to speed things up. If header_cache is a folder, # Store message headers locally to speed things up. If header_cache is a folder,
# Mutt will create sub cache folders for each account which speeds things up more # Mutt will create sub cache folders for each account which speeds things up more