[Dovecot] 1 Dovecot proxy to 2 real IMAP servers

Timo Sirainen tss at iki.fi
Thu Apr 30 19:34:08 EEST 2009


On Thu, 2009-04-30 at 10:09 +0400, Proskurin Kirill wrote:
> >> I want to add one Dovecot Proxy server and make him understand based on 
> >> user domain - were it need to transfer a connection.
> > 
> > Where would you keep the domain -> IP mapping? Dovecot needs that
> > somewhere.
> 
> Anywere if need. I can add it to LDAP or I can make simple text file.

Well, if you can put it to LDAP it should be easy. So for example lets
say you have a proxyHost LDAP field for each user containing the
destination IP, just add to dovecot-ldap.conf:

user_attrs = ..., proxyHost=host, =y=proxy

One other alternative would be to use a checkpassword script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090430/fa8d6b57/attachment.bin 


More information about the dovecot mailing list