-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Nextcloud with Protonmail Bridge #97
Comments
several ways: without ansible:
with ansible:
and add
to roles/docker_container/tasks/main.yml and finally you have to define two variables
please not that container won't be reachable from the internet since no ports are exposed and it is only connected to the backend network. if you want to change this you would have to create another network in roles/docker_container/tasks/network.yml and connect the nextcloud container as well to it. |
Thanks for your support @ReinerNippes! I managed to make it work with a few tweaks. To open the Protonmail Bridge and connect wasn´t that easy. Installing with AnsibleI use your command, but added the ports that needed to be opened to a config file similar to turn_server ports. I opened only port 25 as I only need SMTP.
To be able to login on protonmail-bridge, I accessed the docker using this: (I don´t know how to do it through Ansible) docker exec -it protonmail-bridge bash Then on another window I opened chmod +x entrypoint.sh
./entrypoint.sh init This generates a gpg key which can take a while and initiate protonmail-bridge cli to interact with, however I couldn´t interact with that. So I killed all protonmail-bridge --cli From there I could Once it was configured, then I run I had to restart the container for it to run properly. I don´t remember if I had to reboot as well. Without ansibleI created the container with: docker run --network=backend -it --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 --label com.centurylinklabs.watchtower.enable=true shenxn/protonmail-bridge init This connects the container to Once connected, for some reason it wasn´t running as it should, so I workedaround removing the docker and creating it again on background: docker stop protonmail-bridge
docker rm protonmail-bridge
docker run --network=backend -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 --label com.centurylinklabs.watchtower.enable=true shenxn/protonmail-bridge From there it worked perfect. Nextcloud Email Server configurationOn Nextcloud I configured it as:
Hope that helps anyone trying to do the same as me. It wasn´t the cleanest way, but it worked. |
Just commenting to thank @blumberg for the above. Got me out of a pickle. |
is there any 'for dummies' guides to the above? I have no idea where to start. |
That would be really good. But it would be best if the mail app included the bridge by default or if you could install the bridge as a separate app. Until then, it's just a game for IT guys. |
I'm still getting this error. time="2023-09-28T21:09:16Z" level=warning msg="Failed to add test credentials to keychain" error="failed to open dbus connection: exec: "dbus-launch": executable file not found in $PATH" helper="*keychain.SecretServiceDBusHelper" Any ideas? |
I would like to use Protonmail as the mail server. To do so, I need to use the Protonmail Bridge. I found this docker and was wondering how can I integrate both. I don´t have much experience with Dockers, but don´t mind messing around.
I don´t know if there are others with the same interest, and maybe it can be added in this playbook or if anyone could give me some hints from where I can start.
The text was updated successfully, but these errors were encountered: