From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 10:36:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DF6716A400 for ; Wed, 25 Apr 2007 10:36:58 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id CA48013C465 for ; Wed, 25 Apr 2007 10:36:57 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 70so163972wra for ; Wed, 25 Apr 2007 03:36:57 -0700 (PDT) Received: by 10.90.119.15 with SMTP id r15mr401361agc.1177497417013; Wed, 25 Apr 2007 03:36:57 -0700 (PDT) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id 31sm798485wri.2007.04.25.03.36.56; Wed, 25 Apr 2007 03:36:56 -0700 (PDT) Date: Wed, 25 Apr 2007 06:38:29 -0400 To: User Questions Organization: Seibercom.net In-Reply-To: <92bcbda50704250027m721e7115p4a30eff3a282946c@mail.gmail.com> References: <92bcbda50704250027m721e7115p4a30eff3a282946c@mail.gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070425063738.0E52.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.31 [en] From: Gerard Subject: Re: postfix question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 10:36:58 -0000 On Wednesday April 25, 2007 at 03:27:48 (AM) n j wrote: > Hello, > > does anybody know is it possible with Postfix to "route" e-mail based > on either the inet interface message came from or the sender of a > message? I'm using Postfix v.2.3.8 on a multihomed machine and have > two smtpd's defined in master.cf. What I would like is that mail > submitted through smtpd that is listening on A.B.C.D goes out through > the smtp client that binds to A.B.C.D and the rest of the mail go > through the other smtp client. The problem as I see it is that, once > messages arrive in the queue, it becomes irrelevant where they came > from and the only "routing" that is available is recipient-based. > > Thanks for any suggestions! You would probably get better assistance if you asked this question on the Postfix forum. -- Gerard