Skip to main content
Kofax

Getaddrinfo Failed Socket Error 10109 testing IMAP Mailbox connection

20676

QAID # 20676 Published

Question / Problem:

I receive the following error message when testing a connection to an IMAP mailbox in Kofax Import Connector (KIC) 2.4:

Connection to IMAP mailbox on <Mail_Server_Domain> cannot be established. Error message: getaddrinfo from "<Mail_Server_Domain>" failed, socket error 10109.

I am able to connect and download email to the IMAP mailbox using a third-party email client application.

How can I resolve this issue?

Answer / Solution:

It has been observed that ensuring that the following two lines are listed in the C:\Windows\System32\drivers\etc\services file on the KIC machine can resolve this issue:

  • echo 7/tcp
  • echo 7/udp

These 2 lines will make sure that the echo service is defined on the well-known ports that are used by KIC to test a mailbox.

Applies to:

Product Version
KIC 2.3
  2.4
  2.5
  2.6
  2.7

Keywords: error 10109, IMAP4, mail email connection issue