OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Agustin Muñoz (agustincast-info.es)
Date: Tue Apr 30 2002 - 04:32:49 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Well... you can define an user attribute which will be the user
    recipient and so many mail attributes per user as you need.

    I use the net lines in my Postfix, querying a NetScape Directory server.

    local_recipient_maps = ldap:nexus

    nexus_search_base = o=a1web,c=es
    nexus_server_host = mail.cast-info.es
    nexus_query_filter =(|(mail=%s)(mailalternateaddress=%s))
    nexus_result_attribute= mail
    nexus_scope = sub
    nexus_port = 389

    Maybe in your case yo have to use as a result_attribute 'uid',
    'username' or something like that.

    Agustin

    El mar, 30-04-2002 a las 11:14, Edward Wildgoose escribió:
    > This is a very interesting discussion because I am just on the point of leaping into the LDAP game myself.
    >
    > I would like to use LDAP to store my local user account information so that I can have a single source of user info. I am running Redhat 7.2 and Open LDAP, and happy to use the attributes which ship with the LDAP schema.
    >
    > Lets suppose that I only want a single bucket of local users at this stage, but each user has an email address in one of several domains, eg edmydomain.com, bobotherdomain.com, clairemydomain.com, etc. Local user is the bit to the left of the in general, but not always.
    >
    > Also I would like some users to have multiple email addresses, eg edmydomain and edwardmydomain go to local user edward
    >
    > I haven't quite grasped which attributes I need in my directory. Can someone sketch out the salient details of an example LDIF user record and how I would setup the virtual LDAP entries.
    >
    > I have read around the subject a bit so I am aware of what I am trying to achieve, but it would be really useful if someone could just sketch out a very basic example illustrating the above (no need to go into the background of LDAP structure, just focus on the attributes and postfix settings please). I intend to write this up as a HOWTO, so very grateful for any input
    >
    > Thanks all
    >
    > Ed W

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users