On Thu, Jun 24, 2010 at 01:12:23PM -0400, Victor Duchovni wrote:

> > Note the above deprecated postmap -q syntax.
> 
> It is not deprecated, this never worked.

Index: proto/LDAP_README.html
*** proto/LDAP_README.html      6 Feb 2010 07:34:26 -0000       1.1.1.1
--- proto/LDAP_README.html      24 Jun 2010 17:14:50 -0000
***************
*** 336,342 ****
          search_base = dc=example, dc=com
          query_filter = mail=%s
          result_attribute = memberaddr
!     $ postmap -q agr...@example.com ldap:simple.cf
      au...@example.org,bu...@example.org
  </pre>
  </blockquote> 
--- 336,342 ----
          search_base = dc=example, dc=com
          query_filter = mail=%s
          result_attribute = memberaddr
!     $ postmap -q agr...@example.com ldap:/etc/postfix/simple.cf
      au...@example.org,bu...@example.org
  </pre>
  </blockquote> 
***************
*** 369,375 ****
          query_filter = mail=%s
          result_attribute = maildrop
          special_result_attribute = memberdn
!     $ postmap -q agr...@example.com ldap:special.cf
      au...@mailhub.example.com,bu...@mailhub.example.com
  </pre>
  </blockquote> 
--- 369,375 ----
          query_filter = mail=%s
          result_attribute = maildrop
          special_result_attribute = memberdn
!     $ postmap -q agr...@example.com ldap:/etc/postfix/special.cf
      au...@mailhub.example.com,bu...@mailhub.example.com
  </pre>
  </blockquote> 
***************
*** 400,410 ****
          query_filter = mail=%s
          result_attribute = maildrop
          special_result_attribute = memberdn
!     $ postmap -q au...@example.com ldap:no_expand.cf ldap:expand.cf
      au...@mailhub.example.com
!     $ postmap -q agr...@example.com ldap:no_expand.cf ldap:expand.cf
      au...@mailhub.example.com,bu...@mailhub.example.com
!     $ postmap -q bgr...@example.com ldap:no_expand.cf ldap:expand.cf
      bgr...@mlm.example.com
  </pre>
  </blockquote> 
--- 400,413 ----
          query_filter = mail=%s
          result_attribute = maildrop
          special_result_attribute = memberdn
!     $ postmap -q au...@example.com \
!       ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
      au...@mailhub.example.com
!     $ postmap -q agr...@example.com \
!       ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
      au...@mailhub.example.com,bu...@mailhub.example.com
!     $ postmap -q bgr...@example.com \
!       ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
      bgr...@mlm.example.com
  </pre>
  </blockquote> 
***************
*** 429,441 ****
          special_result_attribute = memberdn
          terminal_result_attribute = maildrop
          leaf_result_attribute = mail
!     $ postmap -q au...@example.com ldap:fancy.cf
      au...@mailhub.example.com
!     $ postmap -q cu...@example.com ldap:fancy.cf
      cu...@example.com
!     $ postmap -q agr...@example.com ldap:fancy.cf
      
au...@mailhub.example.com,bu...@mailhub.example.com,au...@example.org,bu...@example.org
!     $ postmap -q bgr...@example.com ldap:fancy.cf
      bgr...@mlm.example.com
  </pre>
  </blockquote> 
--- 432,444 ----
          special_result_attribute = memberdn
          terminal_result_attribute = maildrop
          leaf_result_attribute = mail
!     $ postmap -q au...@example.com ldap:/etc/postfix/fancy.cf
      au...@mailhub.example.com
!     $ postmap -q cu...@example.com ldap:/etc/postfix/fancy.cf
      cu...@example.com
!     $ postmap -q agr...@example.com ldap:/etc/postfix/fancy.cf
      
au...@mailhub.example.com,bu...@mailhub.example.com,au...@example.org,bu...@example.org
!     $ postmap -q bgr...@example.com ldap:/etc/postfix/fancy.cf
      bgr...@mlm.example.com
  </pre>
  </blockquote> 

-- 
        Viktor.

Reply via email to