Joseph Heaton: > Brand new poster here, so please have mercy :) > > My organization is in the midst of planning an email migration from Groupwise > to Exchange. What was asked of me was to see if it would be possible to have > an SMTP entry point, that would do the following: > > 1) Look at the recipient address > > 2) Check to see if that recipient is in Novell's LDAP. If so, deliver to > Groupwise. > > 3) If user is not valid in Novell's LDAP, check Active Directory. If valid, > deliver to Exchange. > > 4) If not valid in either environment, NDR the message. > > Is this possible? I'm looking at Postfix, on RHEL.
For complete details, see the gateway configuration in http://www.postfix.org/STANDARD_CONFIGURATION_README.html I just show the mapping to LDAP lookups here. You can also use a cron job to maintain static local tables. Again, how to "milk" LDAP servers is discussed frequently on this list. /etc/postfix/main.cf: relay_domains = example.com relay_recipient_maps = ldap:/etc/postfix/groupwise-users ldap:/etc/postfix/exchange-users transport_maps = ldap:/etc/postfix/groupwise-transport ldap:/etc/postfix/exchange-transport Where relay_recipient_maps queries return an arbitrary non-empty value if the entry is found. Where transport_maps queries return a response of the form smtp:[servername] where servername (inside []) is the groupwise or exchange server. Wietse
