From owner-freebsd-questions Fri Feb 28 11:16:51 2003 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 3EE7237B443 for ; Fri, 28 Feb 2003 11:15:42 -0800 (PST) Received: from rambo.401.cx (rambo.401.cx [80.65.205.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D86A844295 for ; Fri, 28 Feb 2003 10:42:31 -0800 (PST) (envelope-from listsub@401.cx) Received: from 401.cx (rocky [192.168.0.2]) by rambo.401.cx (8.12.7/8.12.7) with ESMTP id h1SIgJuA096149; Fri, 28 Feb 2003 19:42:19 +0100 (CET) (envelope-from listsub@401.cx) Message-ID: <3E5FADBE.5090300@401.cx> Date: Fri, 28 Feb 2003 19:43:10 +0100 From: "Roger 'Rocky' Vetterberg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeremy Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail on more then one box with nat References: <5.1.1.6.0.20030228120742.00b4ee40@computer.multihaven.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeremy wrote: > Dear all > > I have a setup like this > > > A > |------------|------------| > B C > > Server A has a real IP and servers B & C have 192.168 addresses > > each server needs to process its own /etc/mail/access table > > eg mail bound for user@serverB uses the /etc/mail/access on server B > eg mail bound for user@serverC uses the /etc/mail/access on server C > > Server A is just a system that runs nat > > can tihs be done? > > thanks > jer If server A runs smtp, you could point both domains to that IP and let server A forward the mails to either B or C depending on domain. You can not have the mails delivered directly to both B and C unless you have atleast two public IP's, which I assume you dont since you ask this question. -- R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message