Usermin Email IP Error

4 posts / 0 new
Last post
#1 Mon, 10/24/2011 - 15:08
UWF

Usermin Email IP Error

I'm getting this error when I try to login to my email accounts I had previously setup and restored.

An error occurred listing mail in this folder : Failed to lookup IP address for localhost

Network config: http://gyazo.com/54b743ed15423409f8b915ecce8c765a.png

Mon, 10/24/2011 - 16:16
andreychek

Howdy,

It sounds like your localhost entry in /etc/hosts may have been removed.

You need an entry in your hosts file that looks like this:

127.0.0.1 localhost.localdomain localhost

Mon, 10/24/2011 - 17:24
UWF

I had this in,

127.0.0.1 srv.modjolt.com
62.212.68.142 localhost.localdomain srv.modjolt.com

# The following lines are desirable for IPv6 capable hosts
::1 srv.modjolt.com ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

So I added what you said after the second line. It's working now, but do I need all that stuff that's already in there?

Mon, 10/24/2011 - 22:18
andreychek

Hrm, those lines aren't correct -- it should look like this:

127.0.0.1  localhost.localdomain
62.212.68.142    srv.modjolt.com

# The following lines are desirable for IPv6 capable hosts
::1   srv.modjolt.com ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Topic locked