Hi: Thanks, Ed, and Steve. You all did help a lot in my problem. Sorry, that my question was a bit comfusing at the first time. And very sorry too that the question led to a bit of controversy between some of you. Steve: I did as what you told me to; but I noticed that, the version of Sendmail shipped with Shrike does not support the file relay-domains anymore or it is being replaced by another name (I don't know). Could you please clarify a bit more with this? Best regards, Vidol On Sat, 2003-08-23 at 18:38, Cowles, Steve wrote: > Vidol Loeung wrote: > > I tried to stop the mail service on mail1.mydomain.com, expecting that > > from then on, whenever there is mail for the domain, > > mail2.mydomain.com should be the one to receive and queue that mail. > > Yes, it actually did; however, I got the error 553 (system config > > error): "mail loops back to me (MX problem)". > > > > Both my mail servers mail1 and mail2 run Sendmail in RH9.0 and they > > both point to ns.mydomain.com as their DNS server, which runs BIND > > also in RH9.0. > > > > Please, you have any clues to the problem? > > After reading this entire thread, I'm confused as to your final goal. In > your first post, you seem to be asking about configuring two active mail > servers sharing a common mail storage (like Network Attached Storage, NFS, > etc...). The replies to this thread seem to address viable options along > with pointing out the pros/cons of each. Now you seem to be configuring one > primary mail server with a secondary mail server that simply queues mail > should the primary go off-line. My response addresses the latter. > > First, your DNS entries look fine. The "Loops back to me" problem is related > to your sendmail configuration on the secondary mail server. If your goal is > to simply queue e-mail on this server until the primary comes back on-line, > then your will need to use sendmail's mailertable feature. > > Using the info you have supplied in your post, simply add the following (see > below) to your /etc/mail/mailertable and /etc/mail/relay-domains files on > mail2. Then type "make" in /etc/mail to recompile the mailertable database. > Since your editing a non-database file (relay-domains) you will have to > restart sendmail. > > # cat /etc/mail/mailertable > mydomain.com esmtp:[mail.mydomain.com] > > and in /etc/mail/relay-domains > > #cat /etc/mail/relay-domains > mydomain.com > > The above configures sendmail to relay any e-mail addressed to mydomain.com > to mail1.mydomain.com using the esmtp mailer. The brackets around > mail1.mydomain.com tells sendmail to ignore the specifed MX records for > final delivery. Which BTW is causing the "loops back to me" problem. > Obviously, you do NOT want mydomain.com listed in > /etc/mail/local-hosts-names. > > Further reading should include /usr/share/sendmail-cf/README. This is > basically the sendmail man pages. > > Steve Cowles > -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list