[100476] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: MX secondary, dns and sendmail - what's wrong?

daemon@ATHENA.MIT.EDU (Kenneth Ho)
Fri Nov 20 22:08:35 1998

Reply-To: <macbrush@macbrush.com.hk>
From: "Kenneth Ho" <macbrush@macbrush.com.hk>
To: <redhat-list@redhat.com>
Date: Sat, 21 Nov 1998 11:05:52 +0800
In-Reply-To: <Pine.LNX.4.05.9811201930510.16084-100000@server.moongroup.com>
Resent-From: redhat-list@redhat.com

I am using a box with 5.1/5.2 components mixed together. I am having a
similar headache with sendmail setup. What I need is fairly simple, a backup
server cache all the mail while the main server is down. I was told to do
the following, and I did.

1. Setting up DNS record
	doamin.name.	MX 10	main.server.
	domain.name.	MX 50	secondary.server.

2. Put the domain name in main's sendmail.cw and in relay_allow of the
secondary.

3. Test it by relaying mail through secondary server.

I am sure everything was set correctly, so I thought it should works. My
main server was actually down last night, so the secondary answered all
incoming mail traffic, then I've got following error:

The original message was received at Thu, 19 Nov 1998 08:41:52 +0800
from philemon.xc.org [204.31.147.20]

   ----- The following addresses had permanent fatal errors -----
<macbrush@macbrush.com.hk>

   ----- Transcript of session follows -----
553 croaky.macbrush.com.hk. config error: mail loops back to me (MX
problem?)
554 <macbrush@macbrush.com.hk>... Local configuration error

I know there is something missing in sendmail config, anyone came across
this problem could shine me a light? I really like to make it works before I
have to consider qmail. Thanks in advance.

Kenneth

*** A clean desk is a sign of a sick mind. ***

-----Original Message-----
From: Chuck Mead [mailto:chuck@moongroup.com]
Sent: 21 November, 1998 8:33 am
To: redhat-list@redhat.com
Subject: Re: MX secondary, dns and sendmail - what's wrong?


On Fri, 20 Nov 1998, Ramon Gandia wrote:

>
>
> Drew Mouton wrote:
> >
> > First, our dns is like this (this is a pre-BIND8 config file):
> >
> > mydomain.com  IN  MX  10 serverA.mydomain.com;
> > mydomain.com  IN  MX  20 serverB.mydomain.com;
>
> 1. What is the semicolon doing at the end of your lines above?
>    It should be a period.
>
> 2. serverB.mydomain.com  will NEVER get email unless serverA is
>    not responding.  There is no way, that I know of, that at this
>    level you can assign some users to serverA and some to serverB.

I was waiting for somebody to say that <grin>!  It's what I thought
to... additionally one way that users could use serverB is by using
the IP address of the machine instead of the name but I think that's
about the only way.


Cheers!
--
Chuck Mead, CEO - Moongroup Consulting, Inc. <chuck@moongroup.com>
http://www.moongroup.com/
http://www.moongroup.com/unix/

There's no such thing as a free lunch.
                -- Milton Friendman


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with
                       "unsubscribe" as the Subject.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post