Skip to content
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

Can't access smtp server #16

Open
northorsouth opened this issue Dec 1, 2020 · 3 comments
Open

Can't access smtp server #16

northorsouth opened this issue Dec 1, 2020 · 3 comments

Comments

@northorsouth
Copy link

northorsouth commented Dec 1, 2020

I can't seem to access the smtp server from the host. I ran the initial setup command and successfully added my account. This is my command for running the docker:

docker run \
        -d \
        --network bridge \
        --restart unless-stopped \
        --name protonmail-bridge \
        -p 1143:143/tcp \
        -p 1025:25/tcp \
        -v /mnt/pool1-fs1/protonmail/data/:/root \
        shenxn/protonmail-bridge:latest

But I get no response when contacting the SMTP server through telnet:

telnet localhost 1025
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

I have also tried to send mail using curl, mutt, and sendmail. None of them have worked. This is my .muttrc file:

set from="[email protected]"
set smtp_url="smtp://[email protected]:password@localhost:1025/"
set ssl_starttls=yes
set ssl_force_tls=yes
set send_charset="us-ascii:utf-8"

Any help would be appreciated. Or if this is a bug, please let me know.

@northorsouth
Copy link
Author

Forgot to mention, I'm on Debian stable (buster)

@shenxn
Copy link
Owner

shenxn commented Dec 13, 2020

I'm not sure what causes this problem. Can you try the shenxn/protonmail-bridge:build image? Also, do you see anything related in the container log?

@camps7ee
Copy link

Login to the container via docker exec -it <container_name> bash. Once you're in just run ./entrypoint.sh and let it run.
If you get permission denied, then run chmod +x ./entrypoint.sh and try again.

Make sure you've configured your settings via protonmail-bridge --cli beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants