What is the best way of changing FQDN while keeping the old?

For example:

From rt.domA.com to rt.domB.com.

From support@domA.com to support@domB.com

During the transition, we would still like to support rt.domA.com via
a redirecto rt.domB.com (apache). And e-mail to support@domA.com go to
support@domB.com (sendmail).

Has anyone done this before?

-----Original Message-----
From: slamp slamp
Sent: Tuesday, 11 May 2010 04:19

For example:

From rt.domA.com to rt.domB.com.

From support@domA.com to support@domB.com

During the transition, we would still like to support rt.domA.com via
a redirecto rt.domB.com (apache). And e-mail to support@domA.com go to
support@domB.com (sendmail).

Has anyone done this before?

This is what the ‘virtusertable’ in Sendmail is for. You can map an entire domain to another entire domain:

From /usr/share/sendmail-cf/README (RHEL box, sendmail-cf package):

The username from the original address is passed as %1 allowing:

    @foo.org        %1@example.com