-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 connect from external network (e.g. telnet, local email client,...) #602
Comments
Thanks for using this image, a lot of users contributed to its success! |
Hi @tomav, It's a root server 1&1 and my ISP is "unitymedia" a common German ISP. Also, all other ports in the container don't work either: 993, 143, 587.
DNS config for mail.mycooldomain.com is also there (incl. MX and TXT). ... and the server listens correctly:
Maybe I'm just missing something very obvious here... :( I'm not sure whether it's the mail server (e.g. postfix) that is blocking the request. Unfortunately, I can't see anything in the logs. :( That's why I was playing around with PERMIT_DOCKER. I also tried to overwrite the allowed networks with my own postfix-main.cf - no luck. |
Hade same Problem, causing the Issue was ONE_DIR=1 May give em a try |
@Berndinox, thanks for the hint. Unfortunately, that did not help. I also tried to telnet into my web server (just to test) and this works fine. It's only related to the ports that are exposed by the docker image. :( Kind of stuck here... |
Dovecot seems to work as Port 143 is accessible (Port 993 is not).
|
I played around with ipTables and Docker today... didn't fix anything. Same issue. Only port 143 is accessible from outside the host system. 993, 465 or 587 are not... although docker opened the ports for me. Now I'm totally stuck. |
To be sure, use
|
Hi @tomav, thanks for the hint, I will try image 2.2. Btw: I've parallelly opened a ticket on StackOverflow: http://stackoverflow.com/questions/43993925/some-exposed-docker-ports-are-not-accessible-from-outside-dovecot-postfix Firewall seems fine (Docker opens the ports correctly) I'll try everything! :) |
I fixed it... or at least my hoster did. There was another hardware firewall blocking certain ports. They had to enable a certain "Mail server" firewall ruleset, which allows to run a mailserver. Thanks for your help and hints!!! |
Hi @tomav,
first of all: Thank you for that great docker container!!! That was exactly what I was looking for!
Unfortunately, it seems like I'm having the same issue as many others (already checked the closed tickets).
I can easily connect from my docker host (also tried other ports like 993):
But I can't connect from my local machine:
Firewall (enabled and disabled it -> doesn't make a difference) looks fine:
This is my docker-compose (I already disabled fail2ban, postgrey and added permit_docker -> nothing helped):
Mail container is up and running:
Here's the debug log from the server:
The text was updated successfully, but these errors were encountered: