Error connecting to IMAP server: localhost.

I've got this issue when connecting by the web SquirrelMail version 1.4.22 By the SquirrelMail Project Team ERROR Error connecting to IMAP server: localhost. 0 : php_network_getaddresses: getaddrinfo failed: Name or service not known

I have checked the DNS and both the host server and the virtual server have 127.0.0.1 locahost

Status: 
Closed (fixed)

Comments

Howdy -- hmm, what is the output of these commands on your Virtualmin server:

netstat -an | grep :143
cat /etc/issue
cat /etc/resolv.conf
/sbin/ifconfig

It sounds like it's having a tough time looking up the name "localhost", the above commands should help us troubleshoot what the problem is.

Thanks for replying it looks like it was a VPS host issue, I changed to a different host and the issues seems to have gone away.