From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 07:27:49 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 B8D7916A402 for ; Wed, 25 Apr 2007 07:27:49 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.233]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0A413C45E for ; Wed, 25 Apr 2007 07:27:49 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so184056nza for ; Wed, 25 Apr 2007 00:27:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BCc70wG/9R9x5Jme1R5+CTWCO53ZA4DyxrNYerEGA7xsBsMVMt4TahvlsxCx7CnVh24R1uxKH9MarsE+4XcYsu9inHWSsMkv+mr+W6pHeAOdiNFEmfnzv5TkGnJbhfqfemuB8CBQ0q6XKLbCkLjP96zXiLEOkrwEIhIkAJZ8ouI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=IS9AuImwJj/nPj3k8vb3dKGe4f0o4Sfu2Ksu/o19y52ys6WV2gP9hRso5ydHX3wd0iaMPnAPeLRlrbIHj9zQ8PTaeHyEViN6PobRx6qrst689olyVjnCa4fnByNK5gvECWa3fWeIF5oSN+WZVz61KyleLLyAMk3hUkbbPfzQ7sM= Received: by 10.114.111.1 with SMTP id j1mr136291wac.1177486068635; Wed, 25 Apr 2007 00:27:48 -0700 (PDT) Received: by 10.114.208.13 with HTTP; Wed, 25 Apr 2007 00:27:48 -0700 (PDT) Message-ID: <92bcbda50704250027m721e7115p4a30eff3a282946c@mail.gmail.com> Date: Wed, 25 Apr 2007 09:27:48 +0200 From: "n j" To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: postfix question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 07:27:49 -0000 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! -- Nino