I have a mailserver running on the Host, where lemmy is installed.
Since a time, i didn’t know when, i can’t send emails from lemmy anymore.
Connection refused.
It is an exim4 configured as satellite listening on localhost:25.
I configured exim to allow also connections from 172.17.0.0/16 and listen on 172.17.0.1 too, which is the docker-bridge ip.
Are there any ideas, how to configure docker or the docker-compose.yml?
You usually have to be in the right routing table or network namespace for this to work. You can get a shell in the container and try to open a telnet connection if that’s installed. Else you can cat < /dev/tcp/127.0.0.1/25