mikie mike a écrit :
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
2. Check if there is virtual user / alias in virtual table
If yes, mail goes to local maildir.
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?
if you can use LDAP, then just set relay_recipient_maps (assuming the
domain is in relay_domains).
if you can't use LDAP, dump it into whatever thing you can use, and use
the thing you dumped.
May be you can recommend any howto about this subject?
Thanks,
Mike