Coder Social home page Coder Social logo

sdelafond / docker-protonmail-bridge Goto Github PK

View Code? Open in Web Editor NEW
39.0 39.0 8.0 14 KB

Run ProtonMail Bridge in a docker container

License: MIT License

Dockerfile 47.59% Shell 52.41%
docker docker-compose imap imap-server protonmail protonmail-bridge smtp smtp-server

docker-protonmail-bridge's Introduction

docker-protonmail-bridge's People

Contributors

daniprado avatar sdelafond avatar tuxity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-protonmail-bridge's Issues

TLS handshake error with Mattermost

Hi,
I've installed the Docker container but i get this error :
smtp/server 2021/04/10 14:17:03 TLS handshake error for 127.0.0.1:47610: remote error: tls: bad certificate
Mattermost conf :
Any help ?
Capture d’écran 2021-04-10 à 16 26 54

tls: unknown certificate authority

Aloha,

I am trying to get freescout integrated with the protonmail bridge. I
am getting the following errors. is the cert you are send to protonmail
a legitimately signed cert from a trusted CA?

:::error appearing on the freescout webUI:::
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL
Error messages: error:1416F086:SSL
routines:tls_process_server_certificate:certificate verify failed

:::from the docker log output:::
smtp/server 2021/06/20 12:44:58 TLS handshake error for 127.0.0.1:35502:
remote error: tls: unknown certificate authority

Cheers

docker allow for multiple logins

Hi there - is it easy to configure the docker to access 2 or more protonmail accounts? do I need a docker running for each account?

[Question] Where to find PROTONMAIL_EXTRA_2FA?

This code is a life saver! I have a Wordpress site setup, but emails do not work because my domain uses Protonmail.

The only env variable I didn't know where to find was PROTONMAIL_EXTRA_2FA. Where can I find this in protonmail?

Thank you!

Can't login using 1.8.3

I tried to migrate to the latest upstream version this morning, but unfortunately something seems to be broken with non-interactive login in 1.8.3. Here's my email to bridge@:

Up to 1.5.4, I was able to login in a fully non-interactive way using:

  echo -e "login\n${PROTONMAIL_LOGIN}\n${PROTONMAIL_PASSWORD}\n${PROTONMAIL_EXTRA_2FA}" | protonmail-bridge --cli

With 1.8.3, this does not appear to work anymore, as I get the following
error:

  ERRO[Jun 21 06:03:17.165] Could not unmarshal secret error="backend/credentials: malformed secret: malformed credent\
ials" pkg=credentials user="<some_base64_string"

Could you please describe how to perform a non-interactive login with
1.8.x? If you'd rather discuss this in a new issue on the corresponding
github project, please let me know.

IMAP to work

Hi there - I installed protonmail-bridge_1.8.7-1_amd64.deb on ubuntu 20.04 server. But I note an error when adding an account:

add
Username:
Password:
Authenticating ...
Two factor code:
Adding account ...
ERRO[Jun 26 13:45:16.907] Could not unmarshal secret error="backend/credentials: malformed secret: malformed credentials" pkg=credentials user=""
Account was added successfully.

I can see that my outbound mail is sent without error but fetching mail via IMAP is failing both with freescout and fetchmail.

On the client side I tried the follow options: no encryption/SSL/TLS, SSL, or TLS. Also I turn on and turn off "Validate Certificate" for each of the aformentioned encryption options.

Here is the error from the bridge when IMAP fails

imap_open(): Couldn't open stream {127.0.0.1:1143/imap/novalidate-cert}. TLS/SSL failure for 127.0.0.1: SSL negotiation failed

The bridge logs show:

ERRO[Jun 26 21:06:56.006] cannot read command: read tcp 127.0.0.1:1143->127.0.0.1:38408: read: connection reset by peer protocol=IMAP
ERRO[Jun 26 21:06:56.007] cannot upgrade connection: EOF protocol=IMAP
ERRO[Jun 26 21:07:06.487] cannot read command: read tcp 127.0.0.1:1143->127.0.0.1:38420: read: connection reset by peer protocol=IMAP
ERRO[Jun 26 21:07:06.488] cannot upgrade connection: EOF protocol=IMAP
ERRO[Jun 26 21:07:06.561] cannot upgrade connection: EOF protocol=IMAP
ERRO[Jun 26 21:07:12.455] cannot read command: read tcp 127.0.0.1:1143->127.0.0.1:38426: read: connection reset by peer protocol=IMAP
ERRO[Jun 26 21:07:12.457] cannot upgrade connection: EOF protocol=IMAP

Not sure what else to try.

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.