From d2fb02db6ad37d394acf8af7a6c73baf41c98317 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Tue, 17 Jun 2025 10:44:06 +0200 Subject: [PATCH 1/2] doc: mention the PR for rootless Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e772fde..e45d3bf 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ docker run -d --name=protonmail-bridge -v protonmail:/root -p 127.0.0.1:1025:25/ Besides, you can publish only port 25 (SMTP) if you don't need to receive any email (e.g. as a email notification service). +The container uses root but if you want to go rootless, there are PR you might want to look at ([#110](https://github.com/shenxn/protonmail-bridge-docker/pull/110), [#69](https://github.com/shenxn/protonmail-bridge-docker/pull/69)). + ## Compatibility The bridge currently only supports some of the email clients. 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. From c1a6e988cd341d5e8bfc73e9b335f5a5383fa2e1 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Tue, 17 Jun 2025 10:45:58 +0200 Subject: [PATCH 2/2] doc: insist that login is in the console instead of shell Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e45d3bf..7de13a6 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ If you want to use Docker Compose instead, you can create a copy of the provided docker compose run protonmail-bridge init ``` -Wait for the bridge to startup, then you will see a prompt appear for [Proton Mail Bridge interactive shell](https://proton.me/support/bridge-cli-guide). Use the `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. +Wait for the bridge to startup, then you will see a prompt appear for [Proton Mail Bridge interactive shell](https://proton.me/support/bridge-cli-guide). Inside that console, use the `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