Thanks a lot, It works !!!!!!!! Thank you very mach ..... Rudolf. ----- Original Message ----- From: "g whitley mott" <grwm@xxxxxxxxxxx> To: <redhat-list@xxxxxxxxxx> Sent: Monday, December 15, 2003 1:43 PM Subject: Re: sendmail > On Mon, 2003-12-15 at 09:32, Rudolf Amirjanyan wrote: > > On my RH9 system I have configured a mail server for mydomain1.com > > Now my company has new domain mydomain2.com. And we need to keep both > > of them. > > The question is the following. > > How can I make my sendmail to serve for both domains, and also to > > forward the mails from mydomain1.com to mydomain2.com ? > > first, your DNS needs to define MX for both domains, pointing at your > server. second, list both domains in the Cw line in your sendmail.mc > (and rebuild sendmail.cf from sendmail.mc). third, setup your > /etc/mail/virtusertable, eg as follows: > > joeuser@xxxxxxxxxxxxx joeuser > joeuser@xxxxxxxxxxxxx joeuser > sallyuser@xxxxxxxxxxxxx sallyuser > @mydomain1.com domain1catchalluser > @mydomain2.com domain2catchalluser > > finally restart your named and sendmail. > > -g > -- > http://gnuleaf.net -- a new lease on life for stranded red hatters > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list