I have two seperate domains running sendmail. I need to redirect all the mails coming to domain1.com to domain2.com. Both have similar usernames. Like I want that mail sent to mangesh@domain1.com shud go to mangesh@domain2.com.
Everything depends on your configuration. I assume you are on a virtual domain setup. That is, you have the same server listed as a MX for both the domains.Ideally, you should provide users with mail-boxes. For example, I can callmy mail-box as "auh" and assign my email address "amol@hatwar.org" as an alias to it.
So when it comes to changing all accounts from domain1.com to domain2.com you just have to redefine the aliases. I guess you can still do that now.And why run an elephant when a horse can do? Qmail and Postfix are better options anytime!
Hi Amol These are 2 seperate machines with their DNS & MX configured on the respective machine and I have already configured sendmail for smtp-auth.