From owner-freebsd-questions@FreeBSD.ORG Tue May 27 08:53:38 2003 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 5D4B637B401 for ; Tue, 27 May 2003 08:53:38 -0700 (PDT) Received: from mail.dannysplace.net (allxs.xs4all.nl [194.109.223.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A99A43F93 for ; Tue, 27 May 2003 08:53:37 -0700 (PDT) (envelope-from fbsd@dannysplace.net) Received: from [192.168.100.228] (helo=llama) by mail.dannysplace.net with smtp (Exim 4.12) id 19Kglb-0007pg-00 for freebsd-questions@freeBSD.org; Tue, 27 May 2003 17:53:35 +0200 Message-ID: <004a01c32468$1f805a50$e464a8c0@llama> From: "Danny Carroll" To: Date: Tue, 27 May 2003 17:53:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19Kglb-0007pg-00*L72QjUaOYjo* Subject: Sendmail, jail and stuff. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Danny Carroll List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 15:53:38 -0000 So, here is the 2 minute spiel.. Host 1.2.3.4 (a real IP address) is a firewall It has 2 jails. Jail 1 is an apache server on 192.168.1.1 It hosts site. www.mysite.com Jail 2 is an mail server on 192.168.1.2 So, how do you convince sendmail running on 192.168.1.1 that www.mysite.com is not 1.2.3.4 but in facy 192.168.1.1 (after that my smart host defination should forward the email to 192.168.1.2 which is where I *want* it to go). sendmail -bv root@www.mysite.com actually resolves to what I want it to resolve to, but when you have a sendmail message sitting in the queue then sendmail tries to connect to 1.2.3.4 25 which does not exist.