[fetchmail-users] how to avoid ipv6 address?

Rob MacGregor rob.macgregor at gmail.com
Mon Mar 26 16:48:22 CEST 2007


On 3/26/07, Christian Ebert <blacktrash at gmx.org> wrote:
> Hello,
>
> When polling, fetchmail gives the following warning after the
> first message:
>
> Trying to connect to ::1/25...connection failed.
> fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused.
> Trying to connect to 127.0.0.1/25...connected.
<---SNIP--->
> Otherwise everything is working fine, I just wanted to know
> whether there's an "innocent" way to get rid of this warning?

1) Have your mail server listen on IPv6 loopback
2) Disable IPv6 on your host
3) Edit your /etc/hosts and comment out the IPv6 loopback

I don't believe there is any way in fetchmail to tell it not to use
IPv6.  I think your only option is to either ensure that your SMTP
server listens on IPv6 or disable IPv6 (or at least the lookup), with
the first being the cleanest approach IMO.

You could also simply specify the smtphost as 127.0.0.1.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche



More information about the fetchmail-users mailing list