Is this the job of address rewriting
I have a need for Postfix to change the destination address of a
message.
For example, I have mail accounts on different network boxes (e.g.
box1.mydomain.com, box2.mydomain.com). I will be getting messages
addressed to user@mydomain, but the message needs to get routed to
box1.mydomain.com. The destination of where "user" lives in stored in
an LDAP database.
Is there a way for Postfix to get this information from the LDAP
database, and rewrite the address so that the message gets delivered to
the correct host?
|