From owner-freebsd-questions@FreeBSD.ORG Thu May 20 03:14:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CA3216A4CF for ; Thu, 20 May 2004 03:14:28 -0700 (PDT) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3126E43D2D for ; Thu, 20 May 2004 03:14:27 -0700 (PDT) (envelope-from ohoyer@ohoyer.de) Received: from gaff.hhhr.ision.net (ohoyer@localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.11/8.12.11) with ESMTP id i4KAEACF021890; Thu, 20 May 2004 12:14:10 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) Received: from localhost (ohoyer@localhost)i4KAE9jl021887; Thu, 20 May 2004 12:14:10 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) X-Authentication-Warning: gaff.hhhr.ision.net: ohoyer owned process doing -bs Date: Thu, 20 May 2004 12:14:08 +0200 (CEST) From: Olaf Hoyer Sender: ohoyer@gaff.hhhr.ision.net To: Peter Risdon In-Reply-To: <40AC7FC9.3060803@circlesquared.com> Message-ID: <20040520120535.W21807@gaff.hhhr.ision.net> References: <40AC7FC9.3060803@circlesquared.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Question List Subject: Re: OT - sendmail forwarding for entire domain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 10:14:28 -0000 On Thu, 20 May 2004, Peter Risdon wrote: > Is it possible to configure sendmail to forward mail for an entire > domain to another mail server, identified by ip address rather than > domain name, keeping the original To: headers intact? Hi! DIfferent ways to do this: I assume that the domain example.com is already added to /etc/mail/local-host-names. Then, depending on your preferences, whether use the virtusertable: @example.com %1@[172.16.0.1] or the mailertable, which should be the better approach to your setup: .example.com smtp:[172.16.0.1] HTH Olaf -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)