Skip to content

Instantly share code, notes, and snippets.

@jmarhee
Forked from lucianposton/.muttrc
Last active May 7, 2024 08:26
Show Gist options
  • Save jmarhee/c03f612598e05ae0928ab621112854e7 to your computer and use it in GitHub Desktop.
Save jmarhee/c03f612598e05ae0928ab621112854e7 to your computer and use it in GitHub Desktop.
mutt: muttrc settings for ProtonMail Bridge
set from="user@protonmail.com"
set my_user="user@protonmail.com"
set my_pass="pass"
set smtp_port="1025"
set imap_port="1143"
set ssl_starttls=yes
set smtp_url="smtp://$my_user:$my_pass@127.0.0.1:$smtp_port"
# workaround for https://github.com/neomutt/neomutt/issues/1211
set imap_authenticators=login
set folder="imap://$my_user:$my_pass@127.0.0.1:$imap_port/"
set spoolfile="+INBOX"
set trash="+Trash"
set mbox="+Received"
set move=no
set record="+Sent"
set copy=no
set postponed="+Drafts"
set postpone=yes
unset imap_passive
set mail_check=20 # seconds
set timeout=10 # seconds
set imap_check_subscribed=yes
# Sidebar
set sidebar_visible=yes
set sidebar_short_path=yes
@fbaube
Copy link

fbaube commented May 7, 2024

Does this configuration make it possible to use mutt's "e" command and write edits back out to the inbox ?

I ask because I had tried it myself some months ago and I found that although my editor (emacs) wrote out my edits to local temp storage successfully, my edits did not make it back to the message on the Protonmail server - the message in the inbox remained unchanged.

I apologize if this comment does not belong here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment