From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 03:26:20 2005 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 7879716A4CE for ; Wed, 12 Jan 2005 03:26:20 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 129E643D55 for ; Wed, 12 Jan 2005 03:26:20 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] (pool-68-160-208-232.ny325.east.verizon.net [68.160.208.232]) by pi.codefab.com (8.12.11/8.12.11) with ESMTP id j0C3Q0Ic064153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Jan 2005 22:26:13 -0500 (EST) Message-ID: <41E498AB.4010800@mac.com> Date: Tue, 11 Jan 2005 22:25:31 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Thomson References: <1105483584.98219.7.camel@itouch-1011.prv.au.itouchnet.net> In-Reply-To: <1105483584.98219.7.camel@itouch-1011.prv.au.itouchnet.net> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.8 required=5.5 tests=AWL,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=disabled version=3.0.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on pi.codefab.com cc: freebsd-questions@freebsd.org Subject: Re: smtp pull 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: Wed, 12 Jan 2005 03:26:20 -0000 Andrew Thomson wrote: [ ... ] > smtp1 is on the DMZ. So smtp1 is the first point of call for incoming > mail. Mail ultimately has to end up on smtp2 however I do not want smtp1 > to simply forward the mail to smtp2 as I'll have to explicitly allow the > setup of port 25 through the firewall to smtp2. > > I would like smtp2 to connect to smtp1 and pull back the mail so that > it's smtp2 that initiating an outgoing connection to smtp1. > > Is there any smtp type approach I can use? You can configure smtp1 as a standard backup MX for smtp2, and use the ETRN command from smtp2 to convince smtp1 to process it's queue of messages. On the other hand, unless you configure both sides to use a non-standard port, smtp1 is still going to open new connections via port 25 to smtp2. That's what the SMTP protocol does, and your firewall can either permit the mail or it can block the mail. -- -Chuck