OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Christian Hammers (ch_at_westend.com)
Date: Sat Aug 31 2002 - 07:31:28 CDT

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

    On Fri, Aug 30, 2002 at 05:55:32PM -0700, nate wrote:
    > using LDAP, I have tried several different query filters,
    > at the moment I am using (mail=%s\*) . My backend is
    This looks bad. We're using the following and it seems to work (currently
    beta test).

    I'm still unsure if the mailAddress=a.x is really needed. It should
    resemble the
            example.com POSTFIX-VIRTUAL-DOMAIN
            chexample.com chwestend.com
    Entries in the virtual_map.

    # Domain a.x
    ou=a.x,ou=test,dc=westend,dc=com
    ou=a.x
    objectclass=westend-domain
    mailAddress=a.x
    mailAddress=a.x
    mailRoutingAddress=chxeniac.intern

    We setup ldap for relay_domains, virtual_maps, transport_maps and
    alias_maps.

    ldap__*__search_base = ou=mail,dc=westend,dc=com
    ...
    ldap__relay_domains__query_filter = (&(ou=%s)(!(a=1)))
    ldap__relay_domains__result_attribute = ou
    ...
    ldap__virtual_maps__query_filter = (&(mailAddress=%s)(!(a=2)))
    ldap__virtual_maps__result_attribute = mailRoutingAddress
    ...
    ldap__transport_maps__query_filter = (&(mailAddress=%s)(!(a=3)))
    ldap__transport_maps__result_attribute = mailTransport
    ...
    ldap__alias_maps__query_filter = (&(mailAddress=%s)(!(a=3)))
    ldap__alias_maps__result_attribute = mailAlias

    bye,

    -christian-

    -- 
    Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
    chwestend.com     Internet & Security for Professionals    Fax 0241/911879
              WESTEND ist CISCO Systems Partner - Authorized Reseller
    

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