From: Victor Duchovni on
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 agroup(a)example.com ldap:simple.cf
auser(a)example.org,buser(a)example.org
</pre>
</blockquote>
--- 336,342 ----
search_base = dc=example, dc=com
query_filter = mail=%s
result_attribute = memberaddr
! $ postmap -q agroup(a)example.com ldap:/etc/postfix/simple.cf
auser(a)example.org,buser(a)example.org
</pre>
</blockquote>
***************
*** 369,375 ****
query_filter = mail=%s
result_attribute = maildrop
special_result_attribute = memberdn
! $ postmap -q agroup(a)example.com ldap:special.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com
</pre>
</blockquote>
--- 369,375 ----
query_filter = mail=%s
result_attribute = maildrop
special_result_attribute = memberdn
! $ postmap -q agroup(a)example.com ldap:/etc/postfix/special.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com
</pre>
</blockquote>
***************
*** 400,410 ****
query_filter = mail=%s
result_attribute = maildrop
special_result_attribute = memberdn
! $ postmap -q auser(a)example.com ldap:no_expand.cf ldap:expand.cf
auser(a)mailhub.example.com
! $ postmap -q agroup(a)example.com ldap:no_expand.cf ldap:expand.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com
! $ postmap -q bgroup(a)example.com ldap:no_expand.cf ldap:expand.cf
bgroup(a)mlm.example.com
</pre>
</blockquote>
--- 400,413 ----
query_filter = mail=%s
result_attribute = maildrop
special_result_attribute = memberdn
! $ postmap -q auser(a)example.com \
! ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
auser(a)mailhub.example.com
! $ postmap -q agroup(a)example.com \
! ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com
! $ postmap -q bgroup(a)example.com \
! ldap:/etc/postfix/no_expand.cf ldap:/etc/postfix/expand.cf
bgroup(a)mlm.example.com
</pre>
</blockquote>
***************
*** 429,441 ****
special_result_attribute = memberdn
terminal_result_attribute = maildrop
leaf_result_attribute = mail
! $ postmap -q auser(a)example.com ldap:fancy.cf
auser(a)mailhub.example.com
! $ postmap -q cuser(a)example.com ldap:fancy.cf
cuser(a)example.com
! $ postmap -q agroup(a)example.com ldap:fancy.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com,auser(a)example.org,buser(a)example.org
! $ postmap -q bgroup(a)example.com ldap:fancy.cf
bgroup(a)mlm.example.com
</pre>
</blockquote>
--- 432,444 ----
special_result_attribute = memberdn
terminal_result_attribute = maildrop
leaf_result_attribute = mail
! $ postmap -q auser(a)example.com ldap:/etc/postfix/fancy.cf
auser(a)mailhub.example.com
! $ postmap -q cuser(a)example.com ldap:/etc/postfix/fancy.cf
cuser(a)example.com
! $ postmap -q agroup(a)example.com ldap:/etc/postfix/fancy.cf
auser(a)mailhub.example.com,buser(a)mailhub.example.com,auser(a)example.org,buser(a)example.org
! $ postmap -q bgroup(a)example.com ldap:/etc/postfix/fancy.cf
bgroup(a)mlm.example.com
</pre>
</blockquote>

--
Viktor.

From: Quanah Gibson-Mount on
--On Thursday, June 24, 2010 1:16 PM -0400 Victor Duchovni
<Victor.Duchovni(a)morganstanley.com> wrote:

> 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.

Thanks! :)

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration