Hello all. I have 2 Dovecot IMAP servers with different mailboxes. What serves different email domains. I want to add one Dovecot Proxy server and make him understand based on user domain - were it need to transfer a connection. I use LDAP auth based on "mail" attribute. It is possible? P.S. Proxy documentation at dovecot.org not help at all and seems to not complited. :-( -- Best regards, Proskurin Kirill
The "perdition" program will do exactly what you need: http://www.vergenet.net/linux/perdition/ Mark On Fri, Apr 24, 2009 at 12:40:36PM +0400, Proskurin Kirill wrote:> Hello all. > > I have 2 Dovecot IMAP servers with different mailboxes. What serves > different email domains. > > I want to add one Dovecot Proxy server and make him understand based on > user domain - were it need to transfer a connection. > I use LDAP auth based on "mail" attribute. > > It is possible? > > P.S. Proxy documentation at dovecot.org not help at all and seems to not > complited. :-( > > -- > Best regards, > Proskurin Kirill-- Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975 cheeks at swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992 abq-strange.com -- Interesting photos taken in Albuquerque, NM Last post: Fiery Foods 2009 - 2009-03-04 10:23:11
On Fri, 2009-04-24 at 12:40 +0400, Proskurin Kirill wrote:> Hello all. > > I have 2 Dovecot IMAP servers with different mailboxes. What serves > different email domains. > > 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.> I use LDAP auth based on "mail" attribute.Then the best location for the proxy host settings would be in LDAP, but you might need to modify your schema.> P.S. Proxy documentation at dovecot.org not help at all and seems to not > complited. :-(With SQL auth it should be easy. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090429/8cd63b2a/attachment-0002.bin>
Timo Sirainen wrote:> On Fri, 2009-04-24 at 12:40 +0400, Proskurin Kirill wrote: >> Hello all. >> >> I have 2 Dovecot IMAP servers with different mailboxes. What serves >> different email domains. >> >> 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.> With SQL auth it should be easy.Well I not use SQL for Auth. -- Best regards, Proskurin Kirill