Fetchmail - connection to localhost: smpt failed: Connection refused

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Wed Sep 9 18:01:55 BST 2009


Wade Smart:

> Postfix:
> mydomain = wadesmart.com
> myhostname = mail.wadesmart.com
> mydestination = wadesmart.com, localhost.localdomain, localhsot
> mynetworks = 127.0.0.0/8
> home_mailbox = data/wadesmart/maildir

Instead of the above, including the output of
postconf -n
would be much better.

> When I start fetchmail I receive this error:
> fetchmail[6528] connection to localhost:smtp [::1/25] failed:
> Connection refused.

fetchmail tries to connect to the IPv6 address of localhost. Your
postfix is probably using IPv4 only.
Either
- make postfix listen on ::1 too, or
- make fetchmail connect to 127.0.0.1

-- 
Regards
  mks




More information about the ubuntu-users mailing list