OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andreas Almstadt (almstadtGONICUS.de)
Date: Thu Dec 20 2001 - 07:38:40 CST

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

    Hi Harry,

    our system isn't in production yet, but the virtual user lookups works
    very well. This is our virtual_maps entry in main.cf:

    virtual_maps = ldap:virtualsource
    virtualsource_server_host = 10.99.1.1
    virtualsource_search_base = o=ourcompany,c=de
    virtualsource_query_filter =
       (&(|(mail=%s)(mailAlternateAddress=%s))(mailhost=mailhost))
    virtualsource_result_attribute = mailTarget
    virtualsource_bind = yes
    virtualsource_bind_dn = cn=ldapadmin,o=ourcompany,c=de
    virtualsource_bind_pw = topsecret

    Our LDAP server stores the primary mailaddress in "mail" and aliases in
    "mailAlternateAddress". The attribute "mailTarget" have's the real
    target, that means the local mailbox-name or a forward-address. Of
    course, you can use other attributes.

    The bind settings are only necessary if your LDAP server needs a
    priviledged user to read this attributes.

    It's also possible to use a "domainname" in mailAlternateAddress to
    have a "catch-all" account for a domain.

    Don't forget to let postfix know about the domains to be treated as
    local, because relaying must be allowed for this domains (in
    mydestination, for example).

    Good luck,

    Andreas

    On Thu, 2001-12-20 at 13:48, Harry Hoffman wrote:
    > Hi All,
    > Does anyone store their vitural maps in LDAP? If so can you provide me
    > pointer with how it should be done?
    >
    > Thanks,
    > Harry
    >
    >
    >
    > -------------------------------------------------
    > This mail sent through IMP: http://horde.org/imp/
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users

    -- 
    Andreas Almstadt <andreas.almstadtGONICUS.de>
    *GONICUS GmbH * Niederlassung Nord 
    * Postfach 74 20 * D-22832 Norderstedt
    * Tel. +49 (0)40 - 53 00 83 71 * Fax +49 (0)40 - 53 00 83 79
    * http://www.GONICUS.de
    

    -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

    iD8DBQA8IengZ+isCo5YBN0RAgGfAJ9nY2yB2QRWu5Gtk8BXIJDZJbHeXgCeIa4z jzPvA+WyiujQNOOIfizdL7M= =/knL -----END PGP SIGNATURE-----

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