Skip to content

Instantly share code, notes, and snippets.

@lucianposton
Last active May 7, 2024 08:27
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save lucianposton/55a4d5a343a9042a91787af9141b97c6 to your computer and use it in GitHub Desktop.
Save lucianposton/55a4d5a343a9042a91787af9141b97c6 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 ssl_starttls=yes
set smtp_url="smtp://$my_user:$my_pass@127.0.0.1"
# workaround for https://github.com/neomutt/neomutt/issues/1211
set imap_authenticators=login
set folder="imap://$my_user:$my_pass@127.0.0.1/"
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
@Akselmo
Copy link

Akselmo commented Oct 5, 2021

Thanks, this worked for me! Just need to add the ports after 127.0.0.1

@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