[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: master mail problems -- help needed



* Stephen Gran:
>> It probably makes sense to disable IPv6 support in Exim on master,
>> independently of my current problem.  I'm going to suggest this to
>> postmaster@ once I figured out a good way to implement this.
>
> I doubt that's the problem.  This is from my logs:
>
> 2005-08-10 13:33:46 1E2uSY-0005KV-1Q <= steve@lobefin.net H=lobefin.net (www.lobefin.net) [216.158.52.108] U=Debian-exim P=asmtp X=TLS-1.0:RSA_AES_128_CBC_SHA:16 A=plain_server:steve S=2386 id=20050810173345.GA24338@www.lobefin.net
> 2005-08-10 13:33:46 1E2uSY-0005KV-1Q IPv6 socket creation failed: Address family not supported by protocol
> 2005-08-10 13:33:46 1E2uSY-0005KV-1Q mail.enyo.de [2001:14b0:202:1::a7]: Address family not supported by protocol
> 2005-08-10 13:33:47 1E2uSY-0005KV-1Q => 317952@bugs.debian.org R=dnslookup T=remote_smtp H=bugs.debian.org [140.211.166.43] QT=1s DT=1s
> 2005-08-10 13:33:49 1E2uSY-0005KV-1Q => fw@deneb.enyo.de R=dnslookup T=remote_smtp H=mail.enyo.de [212.9.189.167] QT=3s DT=3s
> 2005-08-10 13:33:49 1E2uSY-0005KV-1Q Completed
>
> I have IPv6 support in kernel and exim, 

Are you sure?  "IPv6 socket creation failed: Address family not
supported by protocol" suggests something else.

> but no IPv6 connectivity,

master has even got an IPv6 routing table and the kernel assumes it
can reach IPv6 hosts with site-local addresses (fe80::/64):

fw@master:~$ ip -f inet6 route list
fe80::/64 dev eth0  metric 256  mtu 1500 advmss 1440
fe80::/64 dev eth1  metric 256  mtu 1500 advmss 1440
ff00::/8 dev eth0  metric 256  mtu 1500 advmss 1440
ff00::/8 dev eth1  metric 256  mtu 1500 advmss 1440
default dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
default dev eth1  proto kernel  metric 256  mtu 1500 advmss 1440
unreachable default dev lo  proto none  metric -1  error -101
fw@master:~$ ip route get 2001:14b0:202:1::a7
2001:14b0:202:1::a7 via 2001:14b0:202:1::a7 dev eth0  src fe80::230:6eff:fe05:b968  metric 0 
    cache  mtu 1500 advmss 1440
fw@master:~$ 

> so it falls back to IPv4 without any noticable delay.

Try "telnet mail.enyo.de 25" on master and your host for a comparison.
master does suffer from a delay when the v6 address is tried, and Exim
does something similar (try v6 first, then v4).



Reply to: