E-mail server via docker.internal on 127.0.0.1 of host?

Hi there,

I am wondering if I can access a local SMTP/IMAP server on the host that is running the docker container?

Docker provides the docker.internal networking to access the host, will this work when I use this as ERPNext mail server?
Is there a way to test this, initiate an email?

Reason is I use an encrypted email provider and access is only possible via a local bridge, offering SMTP and IMAP.

PS: I assume this is not feasible for helpdesk? For some reasons the helpdesk tool only provides pre-configured mail services?

Thx!
Tom

I think it is available on Mac and Windows.

On linux you can try 172.17.0.1 to access docker host.

Great, thanks for the input. I will try this out then.

Do you know of an easy way to trigger an email to verify the setup?

For development try mailpit,