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.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to