[Dovecot] proxy host specified as fqdn in userdb

Apostolos Papayanakis apap at ccf.auth.gr
Tue Mar 27 01:30:34 EEST 2007


O/H Timo Sirainen έγραψε:
> On Tue, 2007-03-27 at 00:56 +0300, Apostolos Papayanakis wrote:
>   
>> Abstract from http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy
>>
>>     
>>> host=s: The destination server's *IP address*. This field is required. 
>>> Note that currently it's required to use an IP address since no DNS 
>>> resolving is done.
>>>
>>>       
>> Hello Timo,
>>   Here goes one more item for the v2.0 wishlist:
>>   Will it become possible to do dovecot imap proxying based on a "host" 
>> userdb attribute that is an FQDN (instead of a numeric IP as it is now)?
>>     
>
> The problem with this is that it would require adding asynchronous DNS
> library to Dovecot, or alternatively hoping that your DNS server is
> never down (and hanging when it is). I don't really want to implement
> the latter, and adding async DNS library just for proxying which is used
>
>
> by very few people seems a bit bloaty.
Thanks for the immediate answer! I had hoped that it would be ok for the 
proxy dovecot process to block on DNS, but it seems that this is not the 
case.
I will now happilly go ahead and create a "host" attribute containing 
the IP of the proxied servers as suggested.

apap



More information about the dovecot mailing list