Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 1997 09:03:46 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        claudio@nty.com (Claudio Eichenberger)
Cc:        claudio@nty.com, cst@nty.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Returned mail: Host unknown
Message-ID:  <199701191703.JAA08946@freefall.freebsd.org>
In-Reply-To: <199701191639.RAA17791@nty.ch> from "Claudio Eichenberger" at Jan 19, 97 05:39:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Claudio Eichenberger wrote:
> 
> Hi,
> 
> Question:
> ========= 
> How do you configure sendmail that it sends an e-mail to a host "active.ch" which isn't in any DNS?
> 
	create am MX record active.ch in DNS

	active.ch. 	IN	MX	10	mail.active.ch.

	the fields are:

	active.ch.	record for this "machine"
	IN		internet dns "family" (others are hesiod, for example)
	MX		record type: mail exchanger
	10		priority (lower numbers are used first, then higher)
	mail.active.ch.	the machine that accepts mail for the "mahine"
			listed in the first field.


	you can create multiple MX records.  the machine listed in the 
	last field will get the mail, unless it cannot be reached.
	then the next priority will be tried.  

	duplicate priority fields result in primative load balancing

example:
	foo.com. 	IN	MX	10	a.foo.com.
	foo.com. 	IN	MX	50	b.foo.com.
	foo.com. 	IN	MX	50	c.foo.com.
	foo.com. 	IN	MX	100	d.foo.com.

	mail goes to a.foo.com first,  if that machine cannot be reached
	mail goes to either b.foo.com or c.foo.com, if they cannot be
	reached, mail goes to d.foo.com.

jmb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701191703.JAA08946>