Problems to reach IMAP Email Server

Hi Guys! I m new. Sorry for my English, its rusty.

I’m trying to read my inbox, but I can’t reach the server, because of the error I can see. I created the entry in the / etc / hosts of the Docker, but a so did not succeed. If I ping, from the Docker, I have no problems. Even so, I cannot access the Mailbox.

ERROR: getaddrinfo ENOTFOUND

Error: getaddrinfo ENOTFOUND 
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26)

In the image:

  1. The error.
  2. Docker Start.
  3. Ping to Imap server, from the host.
  4. /etc/hosts with the Imap Server.

From the Docker i can reach. Can you give an advise?

PD: Hoy can i watch the logs, with tail -f?


Very sorry but sadly not the slightest idea right now what could be wrong if you can reach it fine via the command line. Very strange problem. If I can think of anything I get back to you but to be honest the chance is small. You probably really have to keep on debugging. Sorry.

n8n does not write any logs that could be watched.

This is working for me (detecting host at terminal).

Have you tried to point to your imap server by ip? I assume it’s something related by DNS resolution (no idea why because inside container dns is working properly).

I have launched this entering my docker container this way:

# docker exec -ti YOURCONTAINERIDINDOCKER /bin/sh

# ping
PING ( 56 data bytes
64 bytes from seq=0 ttl=54 time=7.477 ms

# nc -zv 143 ( open
1 Like