![]() ![]() Machine 127.0.0.1 login port 1025 password PASSWORD_PROVIDED_BY_BRIDGE The previously mentioned ghostbin/gist had all the details for that, copying again:Ĭreate a file ~/.authinfo with the following contents: machine 127.0.0.1 login port 1143 password PASSWORD_PROVIDED_BY_BRIDGE To also send mail via ProtonMail from within mu4e, a bit of extra config is needed for the smtp side of things. OK, now I could start mu4e with M-x mu4e… and got another error:Įrror in process sentinel: Database empty try indexing some messagesĭon’t know why, but running: mu index -maildir=~/.mail Haven’t looked into exactly what it does, so will have to go back and figure out some other solution at some point. emacs.d/layers/+email/mu4e/packages.el sorted it out. ![]() Commenting out the line mu4e-maildirs-extension This promptly gave an error when refreshing the config, something to do with maildirs. I’m using spacemacs, for which there’s a mu4e layer, so I just added that to my list of active layers in. Once configured, you should be able to sync with $ mbsync protonmailĪt this point we should be able to read emails in mu4e. I don’t know what Create, Expunge, and SyncState do. ![]() This one has a few other folders mapped, and with a pm prefix, which is probably useful if you’re also syncing other accounts (but maybe there’s a better way of doing that). #CertificateFile /etc/ssl/certs/ca-bundle.crt #PassCmd "gpg2 -q -d ~/.authinfo.gpg | awk 'FNR = 1 '" #Alternatively you can enter a command to retrieve your password I’ll copy it here too for posterity: IMAPAccount protonmail Luckily though someone made a copy of it in a gist on github. This reddit post has a handy minimal guide of how to set up your mbsync config… or at least it would, if it hadn’t been posted on ghostbin and ghostbin hadn’t gone kaput. So then you need to configure mbsync to point at an IMAP server, and to map your IMAP folders to your Maildir folders. On Mint, I installed mbsync with: sudo apt install isync But mbsync kept on coming up when coming across recent-ish reddit posts about ProtonMail and IMAP, so it seems to be an OK choice for the syncing. I gotta say, any project still knocking around on sourceforge I immediately expect to be dead as a dodo. Mbsync is a utility to sync between IMAP and Maildir. Possibly better/more efficient, possibly just historical intransigence. From what I’ve seen I’m guessing a file-based, Unix-y way of storing mail. So to use mu4e, you need your emails in Maildir format. Because emails are predominantly text, and anything involving a fair amount of text manipulation I would prefer to do in emacs. ![]() There’s instructions on the ProtonMail site for using Thunderbird with Bridge on Linux, which is probably the easiest next step if you’re happy to use Thunderbird. Next step is to point your IMAP client at ProtonMail Bridge. Then you run ProtonMail Bridge and set up your account in there, same as on the other platforms. On Debian derivatives, it’s basically just installing a deb file, but first with a bunch of steps for verifying the provenance of that deb. You have to email ProtonMail to get access to it first of all, then they send you a bunch of instructions to set it up. But the Bridge app on Linux is beta, so it’s a bit extra work. It’s probably not too hard to set up on Windows or MacOS. But anyway kudos to ProtonMail for making it so at least you can use IMAP. that it only really works end-to-end if it’s two ProtonMail users communicating), setting up the Bridge is a bit of an extra annoyance that I imagine would put plenty of people off. To be honest, given the caveats around the utility of ProtonMail’s encryption (e.g. I think Bridge functions as a local IMAP server (and SMTP server) that you point your client apps at, and Bridge does all the encryption/decryption locally before communicating with ProtonMail’s servers. so the encryption continues all the way until it reaches your mail client. I haven’t looked that much into the nitty-gritty of it, but I think the main point of Bridge is to keep the end-to-end encryption when using ProtonMail with IMAP – i.e. To get an IMAP client working with ProtonMail, you also need to set up a separate app called Bridge. But in case it’ll be of help to others (and to me in 3 months) here are the steps I needed and the resources I used to get it up and running. Most of these moving parts are new to me, so I’m not sure if what follows is 100% accurate or correct. I’ve just gotten ProtonMail email working in mu4e in emacs via IMAP, with ProtonMail’s Bridge application and mbsync. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |