[Dovecot] proxy_maybe and IPv6
Timo Sirainen
tss at iki.fi
Tue Aug 12 05:56:54 EEST 2008
On Aug 11, 2008, at 10:53 PM, Timo Sirainen wrote:
> On Aug 11, 2008, at 8:23 AM, Matthieu Herrb wrote:
>
>> If an IPv4 address is specified as 'host', a dovecot proxy is created
>> for clients connecting using IPv6 to this server, and symmetrically
>> if the proxy is specified as an IPv6 address, clients connecting
>> through IPv4 will get forwarded to the v6 address.
>>
>> Is there a way to avoid that?
>
> If you're using SQL passdb, you could probably return host as either
> IPv4 or IPv6 depending on if %l or %r is an IPv4 or IPv6 address?
> Other than that I don't really see an easy way to handle this,
> because dovecot-auth has to be the one to decide if the proxying
> should be done or not, and it doesn't know all the IP addresses the
> Dovecot installation is listening on.
Or actually if Dovecot supported multiple proxy hosts it could contain
both the IPv4 and IPv6 address and then Dovecot could check to see if
any of them already matches. But this is pretty low on my TODO list..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080811/f4f646b8/attachment.bin
More information about the dovecot
mailing list