From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 09:58:30 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 33B2116A404 for ; Wed, 25 Apr 2007 09:58:30 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id E6D8313C483 for ; Wed, 25 Apr 2007 09:58:29 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so233575nza for ; Wed, 25 Apr 2007 02:58:29 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aTtbRrM9PkexPqQn5YVQUOa9g9XwWuiaFSwAEDU/s3+m0Z1RaoJg9dvOsPRS+GEE2hPNZ20KFC5JcHIjGhcj2Pu+DlhLKx16fG3prcBiEw3xjZnoTIzm8R5fs5LwCfClPOX3n2q8vi9jiLm8TBn2I8LoyklvqzAQkUeb/b8e59E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iZQig6wYG2+/QTQsWk2444IM+3c7HhqDcs16UdIey5WI+T2FiNUeTsrV1s8YFVnHT6GsgzObxMWJFTfLnaEGKTRpDoRQBeTXm3vx2leDV8GpOWCMRsTsO7MZZDf+R+3c/dfI8nhRf6hVkhiHP10o+lo/rtYIv0gFSrgBUvpAJoY= Received: by 10.114.171.1 with SMTP id t1mr134902wae.1177495108688; Wed, 25 Apr 2007 02:58:28 -0700 (PDT) Received: by 10.114.208.13 with HTTP; Wed, 25 Apr 2007 02:58:28 -0700 (PDT) Message-ID: <92bcbda50704250258l7735cb39t2713d33b358de0e5@mail.gmail.com> Date: Wed, 25 Apr 2007 11:58:28 +0200 From: "n j" To: "Oliver Peter" In-Reply-To: <20070425085313.GK1322@nemesis.frida.mouhaha.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92bcbda50704250027m721e7115p4a30eff3a282946c@mail.gmail.com> <20070425085313.GK1322@nemesis.frida.mouhaha.de> Cc: freebsd-questions Subject: Re: 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 09:58:30 -0000 Hello Oliver, > Would it help to pimp your transport map? > > # In the case of delivery via SMTP, one may specify host- > # name:service instead of just a host: > # > # example.com smtp:bar.example:2025 > > You can replace bar.example with the IP address of the other > interface. The way I understand, transport map selects messages based on recipient's address or domain. In the above example, only messages destined for example.com would get routed through the right interface. Once messages end up in the queue, qmgr uses trivial-rewrite to resolve recipient's address and selects a transport based on that. Or am I wrong? I need to route messages based on either sender's address/domain (this would suffice) or incoming interface (better). Thanks for the suggestion anyway! -- Nino