Fetchmail - connection to localhost: smpt failed: Connection refused

Wade Smart wadesmart at gmail.com
Wed Sep 9 17:20:52 UTC 2009


On Wed, Sep 9, 2009 at 11:35, Derek Broughton <derek at pointerstop.ca> wrote:
> Wade Smart wrote:
>
>> So I installed fetchmail/postfix/dovecot
>>
>> My mail was in /home/maildir on my last system but now its
>> /data/wadesmart/maildir
>>
>> 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
>>
>> When I start fetchmail I receive this error:
>> fetchmail[6528] connection to localhost:smtp [::1/25] failed:
>> Connection refused.
>
> # telnet ip6-localhost 25
> # telnet localhost 25
>
> At a guess, I'd say you haven't configured postfix to work on IPv6, and
> fetchmail _is_.
> --
> derek
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

wadesmart at wadesmart:~$ telnet ip6-localhost 25
Trying ::1...
telnet: Unable to connect to remote host: Connection refused
wadesmart at wadesmart:~$ telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.wadesmart.com ESMTP Postfix (Ubuntu)

And from the hosts files:
hosts file
127.0.0.1	localhost
127.0.0.1	localhost.localdomain

#changed from 127.0.1.1 to 0.0.1
127.0.0.1	wadesmart


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


Wade
---
Registered Linux User: #480675
Linux since June 2005




More information about the ubuntu-users mailing list