[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot
Subject: IPv4/IPv6 mismatches of doveadm: Fatal: connect(fd00:b::1:12345) failed: Connection refused
From: Michael Grimm <trashcan () ellael ! org>
Date: 2016-12-28 16:18:37
Message-ID: C16FD45B-0F5A-49DE-BBA7-184E48557E2E () ellael ! org
[Download RAW message or body]
Hi —
I recently extendend my IPsec tunnel between two mail servers to deal with IPv4 \
addresses in addition to IPv6 ones. (No specific reason for that.) I ran into an \
issue worth reporting. This is Dovecot v2.2.27 (c0f36b0) at FreeBSD STABLE-11.
Previously:
dovecot.conf:
plugin {
mail_replica = tcp:remote.test
}
service doveadm {
inet_listener {
address = [::]
}
}
| local> host remote.test:
remote.test has IPv6 address fd00:b::1
working well.
Currently:
dovecot.conf:
plugin {
mail_replica = tcp:remote.test
}
service doveadm {
inet_listener {
address = *
}
}
| local> host remote.test:
remote.test has address 10.2.0.1
remote.test has IPv6 address fd00:b::1
Now, Replication stops and throws an error like:
| <mail.crit> local.test dovecot: doveadm(user): Fatal: connect(fd00:b::1:12345) \
failed: Connection refused
If I either
#) remove IPv6 from my lokal DNS,
#) use "mail_replica = tcp:10.2.0.1", or
#) define the appropriate IPv4 address of remote.test in /etc/hosts,
then replication works as usual.
Hmm, shouldn't doveadm be more persistent in using every IP address of that entry of \
mail_replica *before* throwing a "Fatal:" error? Or do I miss something, and it's a \
feature, instead?
Regards,
Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic