I have a solaris runing as a email gateway, which should rewrite the domain name before.com to after.com, and forward the email to the mx host of after.com.
For example, I will send a email to <test@before.com> to this solaris box, and it should rewrite to <test@after.com> and forward it to my...