OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Rob Tanner (rtannerlinfield.edu)
Date: Tue Sep 04 2001 - 23:43:16 CDT

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

    ldapsource_result_attribute = mailLocalAddress

    A problem however. In your example below, '/var/mail/santi' appears to be
    a standard old UNIX mailspool file, and not an alias. Generally, you'll
    use aliases so that a single user has multiple email names, for fairly
    fixed distribution lists, and for special usernames such as postmaster.
    The determination of the mailspool itslef is usually the job of the
    delivery agent. The MTA selects which delivery agent to invoke, and tells
    the delivery agent the name of the mailbox, but the delivery agent figures
    out where the mailbox is and how to effect delivery.

    -- Rob

    --On Wednesday, September 05, 2001 05:31:56 AM +0200 Jaume Teixi
    <teixi6tems.com> wrote:

    > hi I'm on debian putting postfix 20001217 into openldap2....
    > my ldap accounts are as follows:
    >
    > --------
    > dn: uid=santi, ou=Peoples, o=Girona, dc=turistic, dc=net
    > objectClass: inetOrgPerson
    > objectClass: inetLocalMailRecipient
    > uid: santi
    > cn: Santi Gil
    > sn: santi
    > userPassword: *
    > mailLocalAddress: /var/mail/santi
    > mail: santigirona.turistic.net
    > --------
    >
    > so I've mail as mail and maildrop as mailLocalAddress
    > how should I get postfix into ldap ? I've tried:
    >
    > --------
    > myhostname = island.6tems.com
    > alias_maps = hash:/etc/aliases, ldap:ldapsource
    > ldapsource_server_host = localhost
    > ldapsource_server_port = 389
    > ldapsource_search_base = dc=turistic, dc=net
    > ldapsource_timeout = 25
    > ldapsource_query_filter = (&(mail=%s)(paid_up=true))
    > ldapsource_domain = turistic.net, hash:/etc/postfix/searchdomains
    > ldapsource_result_attribute = mail
    > LDAP_SCOPE_SUBTREE
    > myorigin = island.6tems.com
    > destinations = island.6tems.com, 6tems.com, girona.turistic.net,
    > turistic.net --------
    >
    > but don't know howto indicate that my maildrop's are mailLocalAddress in
    > my ldap server
    >
    > bests from barcelona,
    >
    > jaume teixi.
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users

           _ _ _ _ _ _ _ _ _ _
          /\_\_\_\_\ /\_\ /\_\_\_\_\_\
         /\/_/_/_/_/ /\/_/ \/_/_/_/_/_/ QUIDQUID LATINE DICTUM SIT,
        /\/_/__\/_/ __ /\/_/ /\/_/ PROFUNDUM VIDITUR
       /\/_/_/_/_/ /\_\ /\/_/ /\/_/
      /\/_/ \/_/ /\/_/_/\/_/ /\/_/ (Whatever is said in Latin
      \/_/ \/_/ \/_/_/_/_/ \/_/ appears profound)

      Rob Tanner
      UNIX and Networks Manager
      Linfield College, McMinnville OR
      (503) 434-2558 <rtannerlinfield.edu>

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