SMTP doesn't work #1049
Replies: 5 comments
-
Hi, it looks like you have some networking issue (or EGRESS firewall rule) preventing you to access your mailserver
please double check your docker/network configuration |
Beta Was this translation helpful? Give feedback.
-
I checked my network environment. |
Beta Was this translation helpful? Give feedback.
-
If you don't mind I'd like to move this to a discussion, since it's not likely to be an alf.io bug (might be related to the Java Virtual Machine though...) Not sure if you have the "telnet" command in the docker image anyway can you try something like this
because ping uses another protocol and another port, so the firewall (if any) might be blocking port 587 specifically |
Beta Was this translation helpful? Give feedback.
-
Oh yes you are right. I have my mailserver (mailcow) in a docker container with forwarded port to 0.0.0.0 via docker. But when I want to open port 587 with my public ip from the other docker container (alfio) I cant call it. From the host the port ist available. Do you know what the problem is? |
Beta Was this translation helpful? Give feedback.
-
disclaimer: I've never done something like this with "vanilla" docker. So take these suggestions with a grain of salt. assuming that all the containers are running on the same host, first of all I'd make sure that all of them are on the same docker network. here's an interesting article on how you can run multiple containers on the same network: https://www.tutorialworks.com/container-networking/ Once you have the networking configured, you should configure alf.io to call mailcow using its internal IP/alias, instead of using its public dns name. hope this helps |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I configured SMTP (mailcow server) with STARTTLS and the emails are not sent.
To Reproduce
Use the following configuration paramenters:
Expected behavior
The E-Mail would be sent.
Behavior
I get the following error:
Alfio Version: latest
Can somebody tell me how to fix the issue? My mailcow server is not broken: When I use thunderbird with port 587 and STARTLS I can send E-Mails.
Beta Was this translation helpful? Give feedback.
All reactions