Re: [exim] aliases /exim/ldap

Page principale
Supprimer ce message
Répondre à ce message
Auteur: James Davis
Date:  
À: azzouz
CC: exim-users
Sujet: Re: [exim] aliases /exim/ldap
azzouz wrote:

> I want to store aliases informations in ldap in order to view then from
> a client mail and eventualy to modify then. Is it possible ? Some have
> done it ?


I use the following style router, note that the LDAP schema used is for
GOsa, you'll probably want to adjust it to fit yours.

gosa_aliases:
        debug_print = "R: gosa_aliases for $local_part@$domain"
        driver = redirect
        domains = dsearch;/etc/exim4/virtual
        allow_fail
        allow_defer
        data = ${lookup ldap \
                        {ldap://localhost/dc=foo,dc=com?mail?sub?\


(&(|(mail=$local_part@$domain)(gosaMailAlternateAddress=$local_part@$domain))\
                                (objectClass=gosaMailAccount)\
                                )\
                        }\
                }


Regards,

James

--
http://www.freecharity.org.uk/ - Free hosting for charities
http://jamesd.ukgeeks.co.uk/