This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2024-04-01 20:16:08 +01:00
2024-02-15 21:51:35 +00:00
2024-04-01 20:16:08 +01:00
2024-04-01 20:16:08 +01:00
2024-02-15 21:51:35 +00:00
2024-02-15 21:51:35 +00:00
2024-02-15 23:27:45 +00:00

ProtonMail IMAP/SMTP Bridge Docker Container

An unofficial Docker container of the ProtonMail Bridge.

Initialization

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

docker run --rm -it -v protonmail:/root -v /path/to/fullchain.pem:/root/cert.pem:ro -v /path/to/privkey.pem:/root/key.pem:ro registry.karaolidis.com/karaolidis/protonmail-bridge init
cert import
/root/cert.pem
/root/key.pem
login
info

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 registry.karaolidis.com/karaolidis/protonmail-bridge

Security

Please be aware that running the command above will expose your bridge to the network. Remember to use firewall if you are going to run this in an untrusted network or on a machine that has public IP address. You can also use the following command to publish the port to only localhost, which is the same behavior as the official bridge package.

docker run -d --name=protonmail-bridge -v protonmail:/root -p 127.0.0.1:1025:25/tcp -p 127.0.0.1:1143:143/tcp --restart=unless-stopped registry.karaolidis.com/karaolidis/protonmail-bridge

Besides, you can publish only port 25 (SMTP) if you don't need to receive any email (e.g. as an email notification service).

Bridge CLI Guide

The initialization step exposes the bridge CLI, so you can do things like switch between combined and split mode, change proxy, etc. The official guide gives more information on to use the CLI.

Description
An unofficial Docker container of the ProtonMail Bridge
Readme 62 KiB
Languages
Dockerfile 67.6%
Shell 32.4%