Erick Perez wrote:
However, Since both servers will "answer" to the same domain, i need some guidance as to how to 1- If user hosted on the Sun sendmail Cube sends emails to name.lastname@domain.com, make the Cube forward/send the email to the Centos machine. 2- If user hosted in centos, sends email to username@domain.com, make the POSTFIX forward/send the email to the Cube machine.
for the postfix side, use transport_maps:
username@domain.com relay:[remote.host.example] (use the brakets to avoid MX lookups).
i read about transport maps in postfix, just tried and worked perfectly. thanks, now i have to figure the sendmail part (i think virtusertable)
Do you know how to make the sendmail part?
If you are already accepting for the domain in question, all you need are aliases. Just be careful you don't set up a loop as you move people.