Guide: split-Protonmail (offline send/receive qubes + pm bridge vm) revisions

Go back to topic: Guide: split-Protonmail (offline send/receive qubes + pm bridge vm)

  1. v10 anchor; v10 full version
  2. v9 anchor; v9 full version
  3. v8 anchor; v8 full version
  4. v7 anchor; v7 full version
  5. v6 anchor; v6 full version
  6. v5 anchor; v5 full version
  7. v4 anchor; v4 full version
  8. v3 anchor; v3 full version
  9. v2 anchor; v2 full version

Revision #10

Edited on
2025-03-02
Edited by user
skyvine
These policies allow communications between the relevant qubes: specifically, the `mail-receive` qube will be able to fetch email automatically, while the `mail-send` qube will require an extra user prompt. This set up may or may not be desirable for you, so feel free to experiment. These policies allow communications between the relevant qubes: specifically, the `mail-receive` qube will be able to fetch email automatically, while the `mail-send` qube will require an extra user prompt. This set up may or may not be desirable for you, so feel free to experiment. On QubesOS 4.1 or later, use the modern policy location and format. This lets us keep all of the relevant policies in one file; additionally, you can add `notify=yes" to the end of the `user.protonmail-imap` line to receive a system notification whenever the client fetches mail:
[root@dom0]# echo "user.protonmail-imap * protonmail-receive * allow target=protonmail-bridge" > /etc/qubes/policy.d/30-protonmail.policy [root@dom0]# echo "user.protonmail-smtp * protonmail-send * ask default_target=protonmail-bridge" >> /etc/qubes/policy.d/30-protonmail.policy [root@dom0]# echo "user.protonmail-imap * * * deny" >> /etc/qubes/policy.d/30-protonmail.policy [root@dom0]# echo "user.protonmail-smtp * * * deny" >> /etc/qubes/policy.d/30-protonmail.policy ``` On QubesOS 4.0 or earlier, use the legacy policy location and format: ```

Revision #9

Edited on
2025-03-02
Edited by user
skyvine
[root@protonmail-bridge]# echo &#39;socat STDIO TCP:localhost:1143&#39; > /rw/usrlocal/etc/qubes-rpc/user.protonmail-imap [root@protonmail-bridge]# echo &#<del>39</del>;socat STDIO TCP:localhost:1025&<del>#39</del>; &gt; /rw/usrlocal/etc/qubes-rpc/user.protonmail-smtp </td><td class="diff-ins">[root@protonmail-bridge]# echo &<ins>quot;</ins>#<ins>!/bin/sh&quot</ins>;<ins> &gt; /rw/usrlocal/etc/qubes-rpc/user.protonmail-imap [root@protonmail-bridge]# echo &quot;</ins>socat STDIO TCP:localhost:1143&<ins>quot</ins>; &gt;<ins>&gt;</ins> /rw/usrlocal/etc/qubes-rpc/user.protonmail-imap [root@protonmail-bridge]# echo &<ins>quot;</ins>#<ins>!/bin/sh&quot</ins>;<ins> &gt; /rw/usrlocal/etc/qubes-rpc/user.protonmail-smtp [root@protonmail-bridge]# echo &quot;</ins>socat STDIO TCP:localhost:1025&<ins>quot</ins>; &gt;<ins>&gt;</ins> /rw/usrlocal/etc/qubes-rpc/user.protonmail-smtp <ins>[root@protonmail-bridge]# chmod a+x /rw/usrlocal/etc/qubes-rpc/user.protonmail-{smtp,imap} </ins></td></tr><tr><td>``` 4. Optional: add Protonmail Bridge to appmenu ``` [user@dom0]$ qvm-features protonmail-bridge menu-items protonmail-bridge.desktop [user@dom0]$ qvm-sync-appmenus protonmail-bridge ``` 5. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown protonmail-bridge ``` ## 3. AppVM: mail-receive This qube will only be able to receive mail and will not be connected to a netvm. 1. Create the qube: ``` [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=green mail-receive [user@dom0]$ qvm-prefs protonmail-receive maxmem 900 [user@dom0]$ qvm-prefs protonmail-receive netvm &#39;&#39; ``` 2. Add the startup command: ``` [root@mail-receive]# echo &#39;qvm-connect-tcp ::1143&#39; &gt;&gt; /rw/config/rc.local ``` 3. Optional: add Thunderbird to appmenu ``` [user@dom0]$ qvm-features mail-receive menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-receive ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-receive ``` ## 4. AppVM: mail-send This qube will only be able to send mail and will not be connected to a netvm. 1. Create the qube: ``` [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=red mail-send [user@dom0]$ qvm-prefs protonmail-send maxmem 900 [user@dom0]$ qvm-prefs protonmail-send netvm &#39;&#39; ``` 2. Add the startup command: ``` [root@mail-send]# echo &#39;qvm-connect-tcp ::1025&#39; &gt;&gt; /rw/config/rc.local ``` 3. Optional: add Thunderbird to appmenu ``` [user@dom0]$ qvm-features mail-send menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-send ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-send ``` ## 5. dom0 policies These policies allow communications between the relevant qubes: specifically, the `mail-receive` qube will be able to fetch email automatically, while the `mail-send` qube will require an extra user prompt. This set up may or may not be desirable for you, so feel free to experiment. ``` [root@dom0]# echo &quot;mail-receive protonmail-bridge allow,target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/user.protonmail-imap [root@dom0]# echo &quot;mail-send protonmail-bridge ask,default_target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/user.protonmail-smtp [root@dom0]# echo &quot;mail-receive @default allow,target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/qubes.ConnectTCP [root@dom0]# echo &quot;mail-send @default ask,default_target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/qubes.ConnectTCP ``` ## 6. Final configurations 1. Start `protonmail-bridge`, login with your Protonmail credentials and make sure that the bridge is set to run on startup (there&#39;s an option in the app settings). 2. Start `mail-receive`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `127.0.0.1`, port `1143`. For SMTP use `0.0.0.0`. Connection security: `STARTTLS`, `Normal Password`. Then click on `Advanced settings` to save, and fetch mail. 3. Start `mail-send`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `0.0.0.0`. For SMTP use server `127.0.0.1`, port `1025`. Connection security: `STARTTLS`, `Normal Password`. Then click `Advanced settings` to save. 4. `mail-send` requires that you approve the Protonmail certificate: you&#39;ll receive a prompt the first time you attempt to send an email.</td><td>``` 4. Optional: add Protonmail Bridge to appmenu ``` [user@dom0]$ qvm-features protonmail-bridge menu-items protonmail-bridge.desktop [user@dom0]$ qvm-sync-appmenus protonmail-bridge ``` 5. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown protonmail-bridge ``` ## 3. AppVM: mail-receive This qube will only be able to receive mail and will not be connected to a netvm. 1. Create the qube: ``` [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=green mail-receive [user@dom0]$ qvm-prefs protonmail-receive maxmem 900 [user@dom0]$ qvm-prefs protonmail-receive netvm &#39;&#39; ``` 2. Add the startup command: ``` [root@mail-receive]# echo &#39;qvm-connect-tcp ::1143&#39; &gt;&gt; /rw/config/rc.local ``` 3. Optional: add Thunderbird to appmenu ``` [user@dom0]$ qvm-features mail-receive menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-receive ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-receive ``` ## 4. AppVM: mail-send This qube will only be able to send mail and will not be connected to a netvm. 1. Create the qube: ``` [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=red mail-send [user@dom0]$ qvm-prefs protonmail-send maxmem 900 [user@dom0]$ qvm-prefs protonmail-send netvm &#39;&#39; ``` 2. Add the startup command: ``` [root@mail-send]# echo &#39;qvm-connect-tcp ::1025&#39; &gt;&gt; /rw/config/rc.local ``` 3. Optional: add Thunderbird to appmenu ``` [user@dom0]$ qvm-features mail-send menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-send ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-send ``` ## 5. dom0 policies These policies allow communications between the relevant qubes: specifically, the `mail-receive` qube will be able to fetch email automatically, while the `mail-send` qube will require an extra user prompt. This set up may or may not be desirable for you, so feel free to experiment. ``` [root@dom0]# echo &quot;mail-receive protonmail-bridge allow,target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/user.protonmail-imap [root@dom0]# echo &quot;mail-send protonmail-bridge ask,default_target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/user.protonmail-smtp [root@dom0]# echo &quot;mail-receive @default allow,target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/qubes.ConnectTCP [root@dom0]# echo &quot;mail-send @default ask,default_target=protonmail-bridge&quot; &gt;&gt; /etc/qubes-rpc/policy/qubes.ConnectTCP ``` ## 6. Final configurations 1. Start `protonmail-bridge`, login with your Protonmail credentials and make sure that the bridge is set to run on startup (there&#39;s an option in the app settings). 2. Start `mail-receive`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `127.0.0.1`, port `1143`. For SMTP use `0.0.0.0`. Connection security: `STARTTLS`, `Normal Password`. Then click on `Advanced settings` to save, and fetch mail. 3. Start `mail-send`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `0.0.0.0`. For SMTP use server `127.0.0.1`, port `1025`. Connection security: `STARTTLS`, `Normal Password`. Then click `Advanced settings` to save. 4. `mail-send` requires that you approve the Protonmail certificate: you&#39;ll receive a prompt the first time you attempt to send an email.</td></tr></table>

Revision #8

Edited on
2023-09-07
Edited by user
deeplow

Revision #7

Edited on
2022-04-29
Edited by user
BEBF738VD
Hello all. The goal of this guide is to provide you with a split-protonmail setup made of a minimal mail template and three AppVMs: protonmail-bridge, mail-receive, and mail-send. This will allow you to effectively separate incoming and outgoing mail, and your protonmail credentials. This guide was inspired by a [Reddit post](https://web.archive.org/web/20210630065228/https://www.reddit.com/r/Qubes/comments/oarnuj/qubes_os_protonmail_bridge_paranoid_isolation_my/) to which I made with some modifications, since the original post didn't quite work for me. Hello all. The goal of this guide is to provide you with a split-protonmail setup made of a minimal mail template and three AppVMs: `protonmail-bridge`, `mail-receive`, and `mail-send`. This will allow you to effectively separate incoming and outgoing mail (into non-networked qubes), and your protonmail credentials (security by compartmentalization). This guide was inspired by a [Reddit post](https://web.archive.org/web/20210630065228/https://www.reddit.com/r/Qubes/comments/oarnuj/qubes_os_protonmail_bridge_paranoid_isolation_my/) to which I made some modifications, since the configuration proposed in the original post didn't quite work for me.
Note: I'm not an expert, so I'm sharing what worked for me. If you have suggestions or modification proposals, feel free to post them. Note 1: I'm not an expert, so I'm sharing what worked for me. If you have suggestions or modification proposals, feel free to post them.
Note 2: Protonmail Bridge is currently only available for paid accounts. Note 2: Protonmail Bridge is currently only available to Protonmail paid accounts.
Note 2: you can take this a step further by creating a template for Protonmail bridge, and another one for Thunderbird. In this example, I use only one template for both purposes. Note 3: I'm using a `debian-11-minimal` template, I haven't tested Fedora. Note 2: you can take this a step further by creating a template for Protonmail bridge, and another one for Thunderbird. For simplicity, in this example, I use only one template for both purposes. Note 3: I'm using a `debian-11-minimal` template, I haven't tested this setup with Fedora.
2. Clone the minimal template, and update it: 2. Clone the minimal template:
dom0 $ qvm-clone debian-11-minimal debian-11-protonmail dom0 $ qvm-run -u root --pass-io debian-11-protonmail "apt update && apt full-upgrade -y" [user@dom0]$ qvm-clone debian-11-minimal debian-11-protonmail
3. Create a `packages.txt` file, type them by hand or use whatever method you prefer to install the following packages: 3. Update the new clone: Note 1: those of you who set up a `apt-cacher-ng` qube might need to update the urls of the repositories. Expand the section below for the commands [details="Howto: Update repo urls to work with `apt-cacher-ng`"] ``` [root@debian-11-protonmail]# sed -i 's#https://#http://HTTPS///#g' /etc/apt/sources.list [root@debian-11-protonmail]# sed -i 's#https://#http://HTTPS///#g' /etc/apt/sources.list.d/*.list ``` [/details] ``` [root@debian-11-protonmail]# apt update && apt full-upgrade -y ``` 4. Create a `packages.txt` file, type them or use whatever method you prefer to install the following packages:
debian-11-protonmail # apt install -y --no-install-recommends $(cat packages.txt) [root@debian-11-protonmail]# apt install -y --no-install-recommends $(cat packages.txt)
4. Download and install Protonmail Bridge, then shutdown the qube: 5. Download and install Protonmail Bridge, then shutdown the qube:
debian-11-protonmail # https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget https://protonmail.com/download/bridge/protonmail-bridge_2.1.1-1_amd64.deb debian-11-protonmail # dpkg -i protonmail-bridge_*_amd64.deb && shutdown [root@debian-11-protonmail]# https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget https://protonmail.com/download/bridge/protonmail-bridge_2.1.1-1_amd64.deb [root@debian-11-protonmail]# dpkg -i protonmail-bridge_*_amd64.deb && shutdown
Note 2: I included a maxmem value that works for me. Keep in mind you can always adjust as needed. Note 2: I included a maxmem value that works for me. You can always adjust as needed.
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=blue protonmail-bridge dom0 $ qvm-prefs protonmail-bridge maxmem 900 dom0 $ qvm-prefs protonmail-bridge netvm sys-whonix [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=blue protonmail-bridge [user@dom0]$ qvm-prefs protonmail-bridge maxmem 900 [user@dom0]$ qvm-prefs protonmail-bridge netvm sys-whonix
2. Create the policies: 2. Optional: set firewall to **Limit outgoing connections to**: - `protonmail.ch` - `protonmail.com` 3. Create the policies:
protonmail-bridge # mkdir -p /rw/usrlocal/etc/qubes-rpc protonmail-bridge # echo 'socat STDIO TCP:localhost:1143' > /rw/usrlocal/etc/qubes-rpc/user.protonmail-imap protonmail-bridge # echo 'socat STDIO TCP:localhost:1025' > /rw/usrlocal/etc/qubes-rpc/user.protonmail-smtp [root@protonmail-bridge]# mkdir -p /rw/usrlocal/etc/qubes-rpc [root@protonmail-bridge]# echo 'socat STDIO TCP:localhost:1143' > /rw/usrlocal/etc/qubes-rpc/user.protonmail-imap [root@protonmail-bridge]# echo 'socat STDIO TCP:localhost:1025' > /rw/usrlocal/etc/qubes-rpc/user.protonmail-smtp
3. Shutdown the VM: 4. Optional: add Protonmail Bridge to appmenu
dom0 $ qvm-shutdown --wait protonmail-bridge [user@dom0]$ qvm-features protonmail-bridge menu-items protonmail-bridge.desktop [user@dom0]$ qvm-sync-appmenus protonmail-bridge
4. Optional: add protonmail bridge to appmenu 5. Shutdown the VM:
dom0 $ qvm-features protonmail-bridge menu-items protonmail-bridge.desktop ``` 5. Optional: set firewall to Limit outgoing connections to: - `protonmail.ch` - `protonmail.com` [user@dom0]$ qvm-shutdown protonmail-bridge ```
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=green mail-receive dom0 $ qvm-prefs protonmail-receive maxmem 900 dom0 $ qvm-prefs protonmail-receive netvm '' [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=green mail-receive [user@dom0]$ qvm-prefs protonmail-receive maxmem 900 [user@dom0]$ qvm-prefs protonmail-receive netvm ''
2. Add startup command and shutdown: 2. Add the startup command:
mail-receive # echo 'qvm-connect-tcp ::1143' >> /rw/config/rc.local && shutdown [root@mail-receive]# echo 'qvm-connect-tcp ::1143' >> /rw/config/rc.local
3. Optional: add thunderbird to appmenu 3. Optional: add Thunderbird to appmenu
dom0 $ qvm-features mail-receive menu-items thunderbird.desktop [user@dom0]$ qvm-features mail-receive menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-receive ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-receive
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=red mail-send dom0 $ qvm-prefs protonmail-send maxmem 900 dom0 $ qvm-prefs protonmail-send netvm '' [user@dom0]$ qvm-create --class=AppVM --template=debian-11-protonmail --label=red mail-send [user@dom0]$ qvm-prefs protonmail-send maxmem 900 [user@dom0]$ qvm-prefs protonmail-send netvm ''
2. Add startup command and shutdown:: 2. Add the startup command:
mail-send # echo 'qvm-connect-tcp ::1025' >> /rw/config/rc.local && shutdown [root@mail-send]# echo 'qvm-connect-tcp ::1025' >> /rw/config/rc.local
3. Optional: add thunderbird to appmenu 3. Optional: add Thunderbird to appmenu
dom0 $ qvm-features mail-send menu-items thunderbird.desktop [user@dom0]$ qvm-features mail-send menu-items thunderbird.desktop [user@dom0]$ qvm-sync-appmenus mail-send ``` 4. Shutdown the VM: ``` [user@dom0]$ qvm-shutdown mail-send
dom0 # echo "mail-receive protonmail-bridge allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/user.protonmail-imap dom0 # echo "mail-send protonmail-bridge ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/user.protonmail-smtp dom0 # echo "mail-receive @default allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP dom0 # echo "mail-send @default ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP [root@dom0]# echo "mail-receive protonmail-bridge allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/user.protonmail-imap [root@dom0]# echo "mail-send protonmail-bridge ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/user.protonmail-smtp [root@dom0]# echo "mail-receive @default allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP [root@dom0]# echo "mail-send @default ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP
1. Start `protonmail-bridge`, login with your PM credentials and make sure that the bridge is set to run on startup (there's an option in the app settings). 2. Start `mail-receive`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 127.0.0.1, port 1143. For SMTP use 0.0.0.0. Connection security: STARTTLS, Normal Password. Then click advanced to save, and fetch mail. 3. Start `mail-send`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 0.0.0.0. For SMTP use server 127.0.0.1, port 1025. Connection security: STARTTLS, Normal Password. Then click advanced to save. 4. `mail-send` requires that you approve the pm certificate: you'll receive a prompt the first time you attempt to send an email.1. Start `protonmail-bridge`, login with your Protonmail credentials and make sure that the bridge is set to run on startup (there's an option in the app settings). 2. Start `mail-receive`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `127.0.0.1`, port `1143`. For SMTP use `0.0.0.0`. Connection security: `STARTTLS`, `Normal Password`. Then click on `Advanced settings` to save, and fetch mail. 3. Start `mail-send`, add an account on Thunderbird with the credentials provided by Protonmail bridge (**NOT your actual Protonmail credentials!**). For IMAP use server `0.0.0.0`. For SMTP use server `127.0.0.1`, port `1025`. Connection security: `STARTTLS`, `Normal Password`. Then click `Advanced settings` to save. 4. `mail-send` requires that you approve the Protonmail certificate: you'll receive a prompt the first time you attempt to send an email.

Revision #6

Edited on
2022-04-29
Edited by user
BEBF738VD

Revision #5

Edited on
2022-04-26
Edited by user
BEBF738VD
5. Optional: set firewall to Limit outgoing connections to: - `protonmail.ch` - `protonmail.com`

Revision #4

Edited on
2022-04-26
Edited by user
BEBF738VD
debian-11-mail # apt install -y --no-install-recommends $(cat packages.txt) debian-11-protonmail # apt install -y --no-install-recommends $(cat packages.txt)
debian-11-mail # https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget https://protonmail.com/download/bridge/protonmail-bridge_2.1.1-1_amd64.deb debian-11-mail # dpkg -i protonmail-bridge_*_amd64.deb && shutdown debian-11-protonmail # https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/ wget https://protonmail.com/download/bridge/protonmail-bridge_2.1.1-1_amd64.deb debian-11-protonmail # dpkg -i protonmail-bridge_*_amd64.deb && shutdown
dom0 # echo "mail-receive protonmail-bridge allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP dom0 # echo "mail-send protonmail-bridge ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP dom0 # echo "mail-receive @default allow,target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP dom0 # echo "mail-send @default ask,default_target=protonmail-bridge" >> /etc/qubes-rpc/policy/qubes.ConnectTCP

Revision #3

Edited on
2022-04-26
Edited by user
BEBF738VD
Note 2: Protonmail Bridge is currently only available for paid accounts.
debian-11-mail # dpkg -i install protonmail-bridge_*_amd64.deb && shutdown debian-11-mail # dpkg -i protonmail-bridge_*_amd64.deb && shutdown
Note 2: I included a maxmem value that works for me. Keep in mind you can always adjust as needed. Note 2: I included a maxmem value that works for me. Keep in mind you can always adjust as needed.
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail protonmail-bridge dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=blue protonmail-bridge
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail mail-receive dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=green mail-receive
dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail mail-send dom0 $ qvm-create --class=AppVM --template=debian-11-protonmail --label=red mail-send

Revision #2

Edited on
2022-04-26
Edited by user
BEBF738VD
2. Start `mail-receive`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 127.0.0.1, port 1143. For SMTP use 0.0.0.0. Then click advanced to save, and fetch mail. 3. Start `mail-send`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 0.0.0.0. For SMTP use server 127.0.0.1, port 1025. Then click advanced to save. 2. Start `mail-receive`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 127.0.0.1, port 1143. For SMTP use 0.0.0.0. Connection security: STARTTLS, Normal Password. Then click advanced to save, and fetch mail. 3. Start `mail-send`, add an account on thunderbird with the credentials provided by pm bridge. For IMAP use server 0.0.0.0. For SMTP use server 127.0.0.1, port 1025. Connection security: STARTTLS, Normal Password. Then click advanced to save.