From owner-freebsd-questions Sun Jan 19 09:03:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA08952 for questions-outgoing; Sun, 19 Jan 1997 09:03:49 -0800 (PST) Received: (from jmb@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA08946; Sun, 19 Jan 1997 09:03:46 -0800 (PST) From: "Jonathan M. Bresler" Message-Id: <199701191703.JAA08946@freefall.freebsd.org> Subject: Re: Returned mail: Host unknown To: claudio@nty.com (Claudio Eichenberger) Date: Sun, 19 Jan 1997 09:03:46 -0800 (PST) Cc: claudio@nty.com, cst@nty.com, freebsd-questions@FreeBSD.ORG In-Reply-To: <199701191639.RAA17791@nty.ch> from "Claudio Eichenberger" at Jan 19, 97 05:39:06 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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