postfix ldap examples

Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Wed, 07 Jun 2006 08:59:41 +0200
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Hi!

According to: http://www.postfix.org/ldap_table.5.html
the form in which we provide the example ldap queries will be broken
somewhen in the future:

....
For  backwards  compatibility with Postfix version 2.0 and earlier, LDAP
parameters can also be defined  in  main.cf .... Note:  with  this form,
the passwords for the LDAP sources are written in main.cf, which is
normally  world-readable. Support  for this form will be removed in a
future Postfix version.....
....

Postfix wants us to define LDAP parameters  according this form:
"alias_maps = ldap:/etc/postfix/ldap-aliases.cf" , create a extra file
and do a postmap -q /etc/postfix/ldap-aliases.cf ....

rgds,
Andreas