Dualstack IPv4/IPv6 setup with directors

Timo Sirainen tss at iki.fi
Tue Oct 13 19:42:41 UTC 2015


On 13 Oct 2015, at 22:31, Heiko Schlittermann <hs at schlittermann.de> wrote:
> 
> Hi,
> 
> still using 2.2.9, I've two directors, and these directors
> use both IPv4/IPv6 addresses.
> 
> `host directors.<domain>` returns one A and AAA for each
> of the two directors:
> 
>    directors.<domain> has address 149.x.y.96               (director1)
>    directors.<domain> has address 149.x.y.97               (director2)
>    directors.<domain> has IPv6 address 2001:x:y:f33::5:1   (director1)
>    directors.<domain> has IPv6 address 2001:x:y:f33::5:2   (director2)
> 
> But connecting the the neighbor director gives:
> 
> Oct 13 21:23:29 director1 dovecot: director: Warning: Director 2001:x:y:f33::5:2:9090/left disconnected us with reason: Invalid input: ME 149.x.y.96 9090
> Oct 13 21:23:29 director1 dovecot: director: Error: director(149.x.y.97:9090/out): connect() failed: Connection refused
> Oct 13 21:23:29 director1 dovecot: director: Warning: net_connect_ip(): ip->family != my_ip->family
> Oct 13 21:23:29 director1 dovecot: director: Error: Remote director thinks it's someone else (connected to 2001:x:y:f33::5:1:9090, remote says it's 149.x.y.96:9090)
> 
> I assume it's because the director uses only one (IPv4 OR IPv6) address
> for it's own identity, right? 

Right. I thought I did something to fix this crash, but probably not. In any case it's not a supported configuration even if it didn't crash.



More information about the dovecot mailing list