mikie mike wrote:
I'm implementing Postfix as an edge server for Exchange.
I would like Postfix to receive mail from Internet via SMTP and:
1. Check LDAP database if there is such an user / alias in Exchange AD
If yes, mail should be transported to Exchange
There are some scripts to query ldap/exchange, but you can also use call
verification for exchange with caching see:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html
2. Check if there is virtual user / alias in virtual table
If yes, mail goes to local maildir.
This is normal way that postfix works..
I don't know how to handle transports with LDAP. Is it possible to
transport user to Exchange if there is a record for her in LDAP?
Or should I do it other way?
See this tutorial also:
http://postfix.state-of-mind.de/patrick.koetter/mailrelay/
--
Eero