Re: [Dovecot] ldap proxy

2009-06-17 Thread Timo Sirainen
On Wed, 2009-06-17 at 10:21 +0200, Alfonso Sparano wrote: > auth_bind = yes > > auth_bind_userdn = uid=%u,ou=People,dc=unisa,dc=it If you have both of these enabled, Dovecot completely ignores pass_attrs. So if you want auth binds, you need to disable auth_bind_userdn setting. signature.asc De

[Dovecot] ldap proxy

2009-06-17 Thread Alfonso Sparano
Hi all I'm trying to setup a dovecot proxy through and LDAP server. I'm already using Perdition and it works very well but I would like to setup dovecot proxy for managesieve capabilities (http://wiki.dovecot.org/ManageSieve?highlight=(sieve)|(proxy)#Proxy) The version of dovecot is 1.1.16

Re: [Dovecot] Ldap Proxy

2007-11-26 Thread Harrison Metzger
Ok. I got it to work. I changed this: pass_attrs = uid=user,cn=proxy,BCMailDovecotProxyHost=host,gidNumber=nologin,uidNumber=nodelay By adding nologin and nodelay it seems to work. Also, I have to have each map to a unique ldap field or it won't like that. (If people have less than 4 entries in t

Re: [Dovecot] Ldap Proxy

2007-11-26 Thread Harrison Metzger
I changed it so that proxy would be populated by an existing ldap attribute. Here are what my logs show now: Nov 26 08:42:01 holiday dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 secured lip=127.0.0.1 rip=127.0.0.1 resp=AGFwcGxlc2VqAHRhYmxl Nov 26 08:42:01 holiday dovecot: au

Re: [Dovecot] Ldap Proxy

2007-11-26 Thread Timo Sirainen
On Mon, 2007-11-26 at 07:46 -0600, Harrison Metzger wrote: > pass search: base=dc=beloit,dc=edu scope=subtree > filter=(&(objectClass=BCMailAccount)(BCMailEnable=true)(BCMailDovecotEnable=true)(uid=applesej)) > fields=uid,proxy,nologin,nodelay,BCMailDovecotProxyHost > Nov 26 07:40:56 holiday doveco

Re: [Dovecot] Ldap Proxy

2007-11-26 Thread Harrison Metzger
I turned auth_bind off by commenting it out. Here is what my logs show: Nov 26 07:40:56 holiday dovecot: auth(default): client in: AUTH 1 PLAIN service=POP3 secured lip=127.0.0.1 rip=127.0.0.1 resp=AGFwcGxlc2VqAHRhYmxl Nov 26 07:40:56 holiday dovecot: auth(default): ldap(applesej,127.0.0.1)

Re: [Dovecot] Ldap Proxy

2007-11-26 Thread Timo Sirainen
On Tue, 2007-11-20 at 21:08 -0600, Harrison Metzger wrote: > Hello > > I'm trying to do an ldap proxy but it is not working, it just continues to > access the user's mailbox. I was able to do a proxy with a user in a > "passwd-file", but not ldap directory. Here is part my "args" file on the > pas

[Dovecot] Ldap Proxy

2007-11-21 Thread Harrison Metzger
Hello I'm trying to do an ldap proxy but it is not working, it just continues to access the user's mailbox. I was able to do a proxy with a user in a "passwd-file", but not ldap directory. Here is part my "args" file on the passdb ldap stanza: base = dc=example,dc=com auth_bind = yes pass_filter