On Sat, Nov 19, 2016 at 05:05:22PM +0500, Muhammad Yousuf Khan wrote: o > I am trying to use ldap for recipents and domains for windows AD. > i installed postfix ldap
You did not fully implement that, see below. > root@web:/etc/postfix# postconf -m > ... > ldap > ... Welcome to lazy evaluation. This just means that your dynamicmaps.cf file *promises* LDAP support via an external loadable library. It does not mean that the library in question actually works as advertised. > But when I run the command > > postmap -q jos...@domain.org ldap:/etc/postfix/exchange_recipients_lls.cf > > it ends up with error > > postmap: warning: unsupported dictionary type: ldap > (/usr/lib/postfix/dict_ldap.so: No such file or directory) > postmap: fatal: unsupported dictionary type: ldap This means that the promised library is actually not installed. You need to install the package that provides the library. -- Viktor.