Hi all,
I'm fairly new to configuring postfix, but am well versed in message
routing in general on other mail platforms. I'm attempting to configure
postfix to do the following:
1. route/forward any mail received destined to domain.org via ldap
lookup, specifically using mailRoutingAddress attribute
2. route/forward any mail received destined to any domain other than
domain.org to static mail server, called mta2.host.internal
I have step 1 working properly. However, when I define the relayhost
variable in main.cf to mta2.host.internal, all mail not destined for the
local machine is forwarded to mta2.host.internal. According to man
pages, this is the expected behavior of the relayhost variable.
Is it possible to configure postfix to only forward mail to
mta2.host.internal for mail destined to any domain other than domain.org
and to use virtual_alias_maps configured for ldap routing?
Please advise and thanks.
Aaron