nginx pop imap and ldap
Maxim Dounin
mdounin at mdounin.ru
Thu Jul 24 02:14:52 MSD 2008
Hello!
On Wed, Jul 23, 2008 at 11:47:40PM +0200, Leveau Stanislas wrote:
> hi
>
> I would like to know if it's possible to configure Nginx as
> Perdition with ldap. Because i have one Webmail IMP/HORDE and two
> store with mailbox. I
> want to be able to choose a back-end server based on the user's
> identity on the LDAP
>
> For example with perdition in configuration file Perdition.conf
> M /usr/lib/libperditiondb_ldap.so
> m "ldap://ldap.domain.fr:389/o=domain,c=fr?uid,mailHost,port?sub?(uid=%s)"
>
> The same with Nginx is it possible??Or an other solution
The nginx itself doesn't know anything about your users
database/directory, it just talks to auth script. So you
just have to write auth script that talks to your ldap directory.
Maxim Dounin
More information about the nginx
mailing list