> -----Original Message----- > From: slamp slamp > Sent: Tuesday, 11 May 2010 04:19 > > For example: > > From rt.domA.com to rt.domB.com. > > From supp...@doma.com to supp...@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 supp...@doma.com go to > supp...@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 %...@example.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com