Well, I get a valid proxy config on passdb-ldap return pass_attrs like that (in the opossite way to http://wiki2.dovecot.org/PasswordDatabase/ExtraFields#LDAP )
pass_attrs = uid=user,=proxy=y,=nopassword=y,=port=1143,=host=192.168.13.100 But, if I remove the "host", and leave director to fill it, director never acts. 2010/11/29 Antonio Perez-Aranda <[email protected]>: > I can do a simple proxy for one to one instance with static, But I > can't get a running proxy with passdb ldap > > I have this line to try to get run proxy with ldap > > pass_attrs = uid=user,=y=proxy,=1430=port=,=y=nopassword > > I can't use IMAP standard ports on IMAP machines, but port=1430 is > already running with static passdb with proxy from machine one to > machine two, with hardwrite in setting of machine one, "host" with > machine two ip. > > 2010/11/29 Antonio Perez-Aranda <[email protected]>: >> I just find the follow link >> >> http://wiki2.dovecot.org/Director >> >> I will test it with Passdb Configuration. >> >> 2010/11/29 Antonio Perez-Aranda <[email protected]>: >>> I already set auth_debug and mail_debug to yes but I can't watch proxy at >>> logs. >>> >>> ¿Is it needed some special data from LDAP? >>> >>> I import at dovecot.conf the file /etc/dovecot/conf.d/director.conf to >>> get director configuration >>> >>> At now, I have the follow config (director.conf) in my two kvm's >>> machine (192.168.13.100 192.168.13.101) : >>> >>> >>> director_servers = 192.168.13.100 192.168.13.101 >>> director_mail_servers = 192.168.13.100-192.168.13.101 >>> director_user_expire = 15 min >>> service director { >>> unix_listener login/director { >>> mode = 0666 >>> } >>> fifo_listener login/proxy-notify { >>> mode = 0666 >>> } >>> unix_listener director-userdb { >>> mode = 0600 >>> } >>> inet_listener { >>> port = 5000 >>> } >>> } >>> service imap-login { >>> executable = imap-login director >>> } >>> service pop3-login { >>> executable = pop3-login director >>> } >>> protocol lmtp { >>> #auth_socket_path = director-userdb >>> } >>> >>> >>> I don't need lmtp because we use distributed exim >>> >>> 2010/11/26 Timo Sirainen <[email protected]>: >>>> On Fri, 2010-11-26 at 14:53 +0100, Antonio Perez-Aranda wrote: >>>>> If try to execute doveadm director status I can watch the two server like >>>>> that: >>>>> >>>>> [r...@kvm1 ~]# doveadm director status >>>>> mail server ip vhosts users >>>>> 192.168.13.100 100 0 >>>>> 192.168.13.101 100 0 >>>> >>>> It doesn't look like it's working, since there are zero users. You could >>>> set auth_debug=yes and see what it logs when logging in. There should be >>>> only something like: >>>> >>>> Nov 26 16:06:55 auth: Debug: client out: OK 1 user=tss >>>> proxy pass=<hidden> >>>> Nov 26 16:07:11 imap-login: Info: proxy(tss): started proxying to >>>> 127.0.0.2:143: user=<tss>, method=PLAIN, rip=::1, lip=::1, secured >>>> >>>> >>>> >>> >> >
