ProtonMail IMAP/SMTP Bridge Docker container
Go to file
2020-05-31 21:36:46 -07:00
.github/workflows Add path filter to build 2020-05-31 21:18:55 -07:00
.dockerignore Improve build 2020-05-31 21:16:31 -07:00
.gitignore Add GitHub Actions 2020-04-15 00:17:01 -07:00
Dockerfile Improve build 2020-05-31 21:16:31 -07:00
entrypoint.sh Add GitHub Actions 2020-04-15 00:17:01 -07:00
gpgparams First version 2020-04-14 17:59:21 -07:00
install.sh Remove more build time trash 2020-05-31 21:24:45 -07:00
LICENSE Update LICENSE 2020-04-23 17:23:13 -07:00
push-tag.sh Use Docker Hub build 2020-04-15 22:14:18 -07:00
README.md Update README.md 2020-05-18 02:46:49 -07:00
set-env.sh Fix master tag 2020-05-31 21:36:46 -07:00
update-check.sh Fix update check 2020-04-18 01:00:18 -07:00
VERSION Improve build 2020-05-31 21:16:31 -07:00

ProtonMail IMAP/SMTP Bridge Docker Container

version badge tag badge image size badge build badge

This is an unofficial Docker container of the ProtonMail Bridge. Some of the scripts are based on Hendrik Meyer's work.

Docker Hub: https://hub.docker.com/r/shenxn/protonmail-bridge

GitHub: https://github.com/shenxn/protonmail-bridge-docker

Initialization

To initialize and add account to the bridge, run the following command.

docker run --rm -it -v protonmail:/root shenxn/protonmail-bridge init

Wait for the bridge to startup, use login command and follow the instructions to add your account into the bridge. Then use info to see the configuration information (username and password). After that, use exit to exit the bridge. You may need CTRL+C to exit the docker entirely.

Run

To run the container, use the following command.

docker run -d --name=protonmail-bridge -v protonmail:/root -p 1025:25/tcp -p 1143:143/tcp --restart=unless-stopped shenxn/protonmail-bridge

Compatability

The bridge currently only supports some of the email clients and can only run on amd64 architecture. More details can be found on the official website. I've tested this on a Synology DiskStation and it runs well. However, you may need ssh onto it to run the interactive docker command to add your account. The main reason of using this instead of environment variables is that it seems to be the best way to support two-factor authentication.

TODO

Since the protonmail bridge is now open source, there is more thing we can do here.

  • Build an ARM version so that it can run on things like Raspberry Pi.
  • Remove GUI dependencies to reduce the docker image size.