Skip to content

Instantly share code, notes, and snippets.

@lucianposton
Last active August 15, 2023 04:11
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
@sirfmoyo
Copy link

sirfmoyo commented Dec 1, 2020

Could not connect to 127.0.0.1 (Connection refused).

@ehrlichja
Copy link

Need to add the ports Bridge is using to both imap and smtp

@Akselmo
Copy link

Akselmo commented Oct 5, 2021

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

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