Postfix ( 127.0.0.1: address not listed for hostname localhost )

David-Paul Niner dpniner at dpniner.net
Wed Dec 13 13:47:07 UTC 2006


While not incredibly common, I used to occassionally see that happen  
on RH systems when you initially set them up to use DHCP and didn't  
provide a hostname.

Glad you figured that out,
DP

Quoting redhatdude at bellsouth.net:

>
> On Dec 12, 2006, at 5:38 PM, Todd Zullinger wrote:
>
>> redhatdude at bellsouth.net wrote:
>>> How can I fix this?
>>>
>>> The log:
>>>
>>> Dec 12 12:37:45 imaps[12729]: login: localhost.localdomain [::1]
>>> theusername plaintext+TLS User logged in
>>> Dec 12 12:37:45 postfix/smtpd[12786]: warning: 127.0.0.1: address not
>>> listed for hostname localhost
>>> Dec 12 12:37:45 postfix/smtpd[12786]: connect from unknown[127.0.0.1]
>>> Dec 12 12:37:45 postfix/smtpd[12786]: disconnect from unknown[127.0.0.1]
>>
>> Check your /etc/hosts entry for localhost?  The one shown in the error
>> (::1) is an ip6 address.  Ensure that you also (or only if you don't
>> need ip6) have one for 127.0.0.1:
>>
>> $ grep 127.0.0.1 /etc/hosts
>> 127.0.0.1       localhost.localdomain       localhost
>
> Amazing, I didn't have an entry for 127.0.0.1, I thought that was
> created when I installed Fedora.
> Thanks
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the fedora-list mailing list