Jerry Geis
2010-Jan-01 19:27 UTC
[CentOS] one server handled sendmail added two more servers messes things up
Hi all, I had one server running centos 4.7 i686 everything was fine with incoming mail. I now added two more servers centos 5.4 x86_64 and gave them machine names all part of the same domain as machine 1. I noticed that incoming emails are being round robined to all three machines. At this time I really just want the one original machine to handle my incoming email... The other two new machines are for other purposes. How do I tell the two new machines that all incoming email send to machine 1. Is there an easy way to do that? At this point I just turned off the two new machines and all mail is coming into the original machine just like before. Thanks, Jerry
Les Mikesell
2010-Jan-01 19:35 UTC
[CentOS] one server handled sendmail added two more servers messes things up
Jerry Geis wrote:> Hi all, > > I had one server running centos 4.7 i686 everything was fine with > incoming mail. > > I now added two more servers centos 5.4 x86_64 and gave them machine > names all > part of the same domain as machine 1. I noticed that incoming emails are > being > round robined to all three machines. At this time I really just want > the one original machine > to handle my incoming email... The other two new machines are for other > purposes. > > How do I tell the two new machines that all incoming email send to > machine 1. > Is there an easy way to do that? At this point I just turned off the two > new machines > and all mail is coming into the original machine just like before.This should be controlled by the DNS MX record for the domain name. Just set it to the machine(s) you want to receive mail. If you want more than one to receive mail but forward it all to one for delivery, set MAIL_HUB in the sendmail.mc file on the ones that should forward (usually that's not necessary, though).
Jerry Geis
2010-Jan-01 20:05 UTC
[CentOS] one server handled sendmail added two more servers messes things up
lists-centos wrote:> What IPnumbers did you give the two new machines? What does your DNS > look like. > > >From the outside, mail will be delivered to the MX- (or if that > doesn't exist A-) record machine (based on the IPnumber in the DNS > record) for the FQDN on the message. > > - Rick > > ------------ Original Message ------------ > >> Date: Friday, January 01, 2010 02:27:12 PM -0500 >> From: Jerry Geis <geisj at pagestation.com> >> To: CentOS ML <centos at centos.org> >> Subject: [CentOS] one server handled sendmail added two more >> > servers messes things up > >> Hi all, >> >> I had one server running centos 4.7 i686 everything was fine with >> incoming mail. >> >> I now added two more servers centos 5.4 x86_64 and gave them >> machine names all >> part of the same domain as machine 1. I noticed that incoming >> emails are being >> round robined to all three machines. At this time I really just >> want the one original machine >> to handle my incoming email... The other two new machines are for >> other purposes. >> >> How do I tell the two new machines that all incoming email send to >> machine 1. >> Is there an easy way to do that? At this point I just turned off >> the two new machines >> and all mail is coming into the original machine just like before. >> >> Thanks, >> >> Jerry >> >All three machines have the same FQDN. something like A.mydomain.com, B.mydomain.com, C.mydomain.com The IP numbers are X.Y.Z.170, .171 and .172 All three machines have MX records. they all have the same domain name. It is a big deal to request changes from the provider so I was hoping there was a way to just tell the two new machines that incoming email to them just send on over to the the first machine. Is there a way to do that - or am I going about this the wrong way? Jerry
Jerry Geis
2010-Jan-01 20:19 UTC
[CentOS] one server handled sendmail added two more servers messes things up
MAIL_HUB does the trick - thanks that was what I was looking for. jerry