[Dovecot] Can't resolve address 127.0.0.1

Alban Dani adani at stevens.edu
Tue Apr 20 04:29:17 EEST 2004


Rick thanks for the message,

-I have not done any changes to the default nsswitch.conf. I checked 
and the entry 
hosts:      files dns
is there

-127.0.0.1 localhost  entry is in the /etc/hosts file.

-ifconfig shows that the interface is up and I can successfully ping it 
by name ( ping localhost ).

What else can be wrong. I am totally lost here.

Alban



Rick Johnson wrote:


>Alban Dani wrote:
>> Hi ,
>> 
>> I recently installed Fedora Core 1.
>> 
>> Installed postfix on it and that is running fine.
>> 
>> I am trying to get dovecot to run and I have changed only the 
following 
>> line from the default dovecot.conf :
>> 
>> imap_listen = 127.0.0.1 since I'd like to install squirrelmail later 
on.
>> 
>> Now when I try to start dovecot I get "Starting Dovecot Imap: Fatal: 
>> Can't resolve address 127.0.0.1 : Name or service not known"
>
>Does /etc/hosts still contain an entry for localhost?
>
>Does /etc/nsswitch.conf still reference files for name resolution?
>
>Is the interface lo active? (run ifconfig to find out)
>
>-Rick
>
>-- 
>Rick Johnson, RHCE #807302311706007 - rjohnson at medata.com
>Linux/Network Administrator - Medata, Inc.
>PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc
>



More information about the dovecot mailing list