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?

0 points

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

permalink
report
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

Community stats

  • 9.3K

    Monthly active users

  • 3K

    Posts

  • 50K

    Comments