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 internal email server which is pointed bu the mx record of after.com.
I have tried to add a rewriting rule as S11 in the rewriting section:
S11
R$*@before.com $1@after.com
Is this correct way?
I am actually confused where I should put this rewriting rule? rule set 3 or 0 or 1?
Thanks.
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 internal email server which is pointed bu the mx record of after.com.
I have tried to add a rewriting rule as S11 in the rewriting section:
S11
R$*@before.com $1@after.com
Is this correct way?
I am actually confused where I should put this rewriting rule? rule set 3 or 0 or 1?
Thanks.