Hello, I am looking for assistance with the following scenario.
We have two mail locations that we would like to route mail based on an ldap attribute. The LDAP attribute that is being queried is the internal email address of the user: [email protected] [email protected] Is it possible to rewrite the users email address to the internal address and use MX of the rewritten address to direct the mail? If so what postfix function should be used? Example: [email protected] -> mx.example.com --Forwarded--> mail.server1.example.com [email protected] -> mx.example.com --Forwarded--> mail.server2.example.com Thanks in advance, Jim
