delivery temporarily suspended: connect to, localhost[10.11.12.13]:25: Connection timed out

Derek Broughton derek at pointerstop.ca
Tue Jul 21 14:56:09 UTC 2009


Admin wrote:

> Derek Broughton wrote:
>> Admin wrote:
>> 
>>> Hi there,
>>>
>>> I am using fetchmail to pop3 mail from gmail.  But when I receive email
>>> I find that fetchmail is using postfix to deliver the mail to the
>>> corresponding internal mailbox.  postfix responds with the following
>>> error and best I can tell the mail never ends up in my inbox.  Looks
>>> like localhost is considered 10.11.12.13.  The error message,
>>> /etc/hosts, and postconf -n are below.
>>>
>>>
>>> Here is the error message:
>>>
>>> ---- snip ----
>>>
>>> <username at localhost>: delivery temporarily suspended: connect to
>>>      localhost[10.11.12.13]:25: Connection timed out
>>>

There should be a postfix log giving more information.
> 
> also localhost is 127.0.0.1 according to my /etc/hosts file output.  but
> instead the localhost that is getting reolved is 10.11.12.13 .

Damn. Sorry, I didn't even notice that.  localhost should _never_ be 
anything but 127.0.0.1.  What happens when you ping localhost?  I'm thinking 
this is probably not a resolution issue, but that Postfix isn't actually 
listening on the localhost interface.  10.11.12.13 is probably your eth0 or 
wlan0 interface.  Which you probably don't want.

> so something is still getting Munged.  I checked hostname resolution for
> localhost from the servers listed in /etc/resolv.conf and arrive at the
> address 127.0.0.1

?  You mean like "nslookup localhost DNS-IP"?  I think that could only 
possibly tell you what the IP of "localhost" is on the DNS server (though, 
it should of course be 127.0.0.1).
 
> $ cat /etc/hosts
> 127.0.0.1     localhost localhost.localdomain

That's the whole file?  It's a bit short for an ubuntu /etc/hosts.
-- 
derek






More information about the ubuntu-users mailing list