Re: [exim] exim4 + ldap integration: requirements

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jonathan Gonzalez
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] exim4 + ldap integration: requirements
Thomas,

your config seems not to be equal than mine. Also de online
documentation for 4.50 do not show any information about mail routing,
only example queries. I have done a lot of example queries. I can
search for domains at the moment but i cannot put messages in the
spool of each user, nor authenticate.

My ldap DIT is something like this:

    uid=user,ou=people,ou=domain.com,ou=domains,dc=foo,dc=bar


In slapd.conf i have loaded the following schemes:

   include         /etc/ldap/schema/core.schema
   include         /etc/ldap/schema/cosine.schema
   include         /etc/ldap/schema/nis.schema
   include         /etc/ldap/schema/inetorgperson.schema
   include         /etc/ldap/schema/openldap.schema
   include         /etc/ldap/schema/misc.schema


For the population of the ldap i use phpldapadmin, and i got stuck :(

Any thoughts?

TIA,
BR,

jonathan





On 7/18/05, Thomas Hager <duke@???> wrote:
> On Sun, 2005-07-17 at 17:53 +0200, Jonathan Gonzalez wrote:
> > Hi all,
> hi,
>
> > The problem is that i couldn't find good sources to achieve this and the
> > Exim4 official book don't show this theme extensively.
> check the online exim4 documentation for the required ldap lookups.
>
> > I would like to know if i need any other schemas than the packaged with
> > openldap (core, cosine, misc, inetorgperson, corba, java, nis, openldap)
> basically not, but it depends on your environment.
> i use the objectclass and attributes defined by the lachman-laser draft.
> openldap includes them in the misc.schema and they are sufficient for
> hosting virtual domains.
>
> > Also i would appreciate is somebody can show me examples.
> well, this is basically how i do it:
>
> all user entries contain the inetLocalMailRecipient objectclass and i
> use these attributes:
>
> mail: <mailbox>@<domain>
> the "real" mailbox
>
> mailHost: <hostname>
> the hostname of the imap store where the mailbox is located
>
> mailLocalAddress: <local_part>@<domain>
> virtual e-mail aliases for the defined mailbox.
>
> exim searches the LDAP directory using the mailLocalAddress attribute.
> it rewrites the envelope recipient with the value returned in the mail
> attribute and delivers the mail to the host defined in the mailHost
> attribute.
>
> hth,
> tom.
>
> --
> Thomas "Duke" Hager                       {duke,hager}@???
> GPG: 1024D/D27F858C            http://www.sigsegv.at/gpg/duke.gpg
> =================================================================
> "Never Underestimate the Power of Stupid People in Large Groups."

>
>
>
>
> BodyID:1977394.2.n.logpart (stored separately)
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
>