Fetchmail - connection to localhost: smpt failed: Connection refused

Wade Smart wadesmart at gmail.com
Wed Sep 9 17:19:06 UTC 2009


2009/9/9 Markus Schönhaber <ubuntu-users at list-post.mks-mail.de>:
> 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
>
> --
> 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:~$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = no
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
default_transport = error
home_mailbox = data/wadesmart/Maildir
mailbox_size_limit = 0
mydestination = wadesmart.com, localhost.localdomain, localhost
mydomain = wadesmart.com
myhostname = mail.wadesmart.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relayhost = [smtpout.secureserver.net]:3535
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
wadesmart at wadesmart:~$


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




More information about the ubuntu-users mailing list