nginx pop imap and ldap

Leveau Stanislas stanislas.leveau at
Thu Jul 24 02:37:57 MSD 2008

Maybe that someone has already done it? ;)) a script for ldap??


Maxim Dounin <mdounin at> a ecrit:

> 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/
>> m "ldap://,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