

NeoMutt looks for a config at ~/.muttrc.Ubuntu 15.10, mutt 1.5.23-3 (latest available through Synaptic) If you're interested in seeing more, my NeoMutt config at time of writing is available here. There is a lot to configure in NeoMutt, so I'll only cover what is necessary to get this setup working. Then try running it using the offlineimap command. But this seems like a non-issue because it's over a local connection anyways and the actual outgoing connection to ProtonMail is encrypted. Disable SSL because it was (at least when I set this up) not working with Bridge.Bridge's IMAP service runs at 127.0.0.1:1143 (normally IMAP runs on port 143 or 993 for SSL).Bridge generates a Bridge-specific password for you to use, so use that here and not your actual ProtonMail password.Emails deleted locally will also be deleted on ProtonMail (the sync_deletes option) and emails deleted on ProtonMail will be deleted locally (the expunge option).Īfter OfflineIMAP fetches new email, it will run the command defined for postsynchook, which in this case is is the notmuch command for updating its search index ( notmuch new). It will only sync the INBOX, Archive, and Sent folders to/from ProtonMail (the folderfilter option).

# is broken, but connecting locally to bridge so should be okīasically this sets up an account arbitrarily called main which will store emails at ~/.mail in the Maildir format. # delete local mails that were deleted on the remote serverįolderfilter = lambda foldername: foldername in

# delete remote mails that were deleted locally # quick refreshs between each full refresh These instructions are for Ubuntu 16.04, but I imagine they aren't much different for other distributions (yours might even have a package you can install). It's too much to cover here, but if you want to poke around these scripts and my full email configs (at time of writing), see my dippindots.) Installing NeoMutt and OfflineIMAP (My full email setup also includes the common Mutt companions NotMuch for better searching and urlscan for viewing URLs more easily in emails, in addition to some custom scripts, such as one for viewing HTML emails in a nice popover window and one for viewing MHT/MHTML emails (which are emails that contain inline attachments). So here's how to set it up with NeoMutt and OfflineIMAP for fetching our emails. ProtonMail provides instructions for setting up the Bridge with common email applications like Thunderbird, but that's about it. Prior to Bridge you could only access the service through the web interface, which is sort of clunky and requires you to, among other things, rely on their search, which is limited by the fact that they can't really index your emails - because you're paying them not to read the message bodies! ProtonMail recently released their Linux beta for Bridge, which provides IMAP/SMTP access to the service.
