[Dovecot] proxy mode and ldap
Hello,
I need to use dovecot as proxy pop and imap with ldap.
in the documentation, there is an example to do this with mysql.
how to do to return (as mysql do) nodelay=y nologin=y proxy=y an idea to do this with ldap ?
Thanks in advance.
Francis
On Wed, Oct 04, 2006 at 03:57:15PM +0200, Francis wrote:
Hello,
I need to use dovecot as proxy pop and imap with ldap.
in the documentation, there is an example to do this with mysql.
how to do to return (as mysql do) nodelay=y nologin=y proxy=y an idea to do this with ldap ?
AFAIK, the dovecot proxy is not working with LDAP...
Bye, Aiko
:wq
On Sun, 2006-10-08 at 20:16 +0200, Aiko Barz wrote:
On Wed, Oct 04, 2006 at 03:57:15PM +0200, Francis wrote:
Hello,
I need to use dovecot as proxy pop and imap with ldap.
in the documentation, there is an example to do this with mysql.
how to do to return (as mysql do) nodelay=y nologin=y proxy=y an idea to do this with ldap ?
AFAIK, the dovecot proxy is not working with LDAP...
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
On Sun, Oct 08, 2006 at 09:54:41PM +0300, Timo Sirainen wrote:
AFAIK, the dovecot proxy is not working with LDAP...
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
Bye, Aiko
:wq
On Tue, 2006-10-10 at 17:59 +0200, Aiko Barz wrote:
On Sun, Oct 08, 2006 at 09:54:41PM +0300, Timo Sirainen wrote:
AFAIK, the dovecot proxy is not working with LDAP...
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
host
On Tue, Oct 10, 2006 at 08:01:20PM +0300, Timo Sirainen wrote:
On Tue, 2006-10-10 at 17:59 +0200, Aiko Barz wrote:
On Sun, Oct 08, 2006 at 09:54:41PM +0300, Timo Sirainen wrote:
AFAIK, the dovecot proxy is not working with LDAP...
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
host
Hm, I could only find "hosts" in the example dovecot-ldap.conf configuration. So, what do you mean with "host"? Shall I create a SQL database, which uses LDAP as backend to search for the "mailHost" attribute and to parse it to dovecot?
Bye, Aiko
:wq
On Thu, 2006-10-12 at 09:00 +0200, Aiko Barz wrote:
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
host
Hm, I could only find "hosts" in the example dovecot-ldap.conf configuration.
Because it's not there. :) You'll just have to return it in pass_attrs. Like:
pass_attrs = uid=user,userPassword=password,mailHost=host,uid=proxy,uid=nologin,uid=nodelay
AFAIK, the dovecot proxy is not working with LDAP...
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
Hi,
I tried many wrinting but without succes.
I suppose It wasn't put in the code...
But I have no more time to lookup in the code so I will use perdition.
thanks for the responses.
Francis
----- Original Message ----- From: "Aiko Barz" aiko@haeckser.de To: "Timo Sirainen" tss@iki.fi Cc: "Francis" francis@ac-clermont.fr; dovecot@dovecot.org Sent: Tuesday, October 10, 2006 5:59 PM Subject: Re: [Dovecot] proxy mode and ldap
participants (4)
-
Aiko Barz
-
Francis
-
Francis Bouche
-
Timo Sirainen