>hi all >is there any way to postfix could query the mail users directly from Active >Directory? >what is required for this >Thanks
Sure, plenty of ways, but do you _really_ want this? The reason I myself prefer to periodically transfer a dump of all proxy-addresses from the AD/Exchange environment and parse that into Postfix is that should you ever face a larger spam attack, and have tons of queries against the AD your AD/exchange will bog down. Also, I answered this as late as yesterday on the list, the search feature is a good thing ;) But, here is my reply on how I export Proxy-addresses from AD (2008R2). I use a slightly modified version of https://exchangepedia.com/blog/stuff/ListEmailAddresses.zip (I just changed it do not output a dialog, just the resulting text file) Then I use a a small PHP-script to parse the files into transport, relay_domains, relay_recipients