From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1REPY3-0001HB-Gl for garchives@archives.gentoo.org; Thu, 13 Oct 2011 17:58:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9041421C19F; Thu, 13 Oct 2011 17:58:05 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id AACCF21C07E for ; Thu, 13 Oct 2011 17:56:58 +0000 (UTC) Received: from [172.17.29.14] (unknown [65.213.236.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id 9503A37ADA for ; Thu, 13 Oct 2011 13:56:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1318528617; bh=bHRqyxcETNGLBgiKF8hNHcpDenzLIJckSFMtgfoW6wM=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=dGTjORavGEhfpLeeP/ptGTeA5mbFdXpb/vYCSAUKmT5h762w1NuZ/su3nMIwagy7G gYM+jdSFZZ82j7WmpejY0meWfX6vo3Fu4wR8B4i7tn+ClzlYlJqj/AnBaxVFO33hsh uOVWY0kmL4p3GTYK/E2WsOIRnOp17HmHYodEQbdw= Message-ID: <4E97265D.2080309@orlitzky.com> Date: Thu, 13 Oct 2011 13:56:45 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110923 Lightning/1.0b3pre Thunderbird/3.1.12 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Postfix to relay mail even if acting as primary MX host? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 72857abe11a37505614a7e9521a660ca On 10/13/2011 06:17 AM, Pandu Poluan wrote: > > I found this: > > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup > > is that the configuration I should use? > More or less. I think you may even be able to simplify it a little. I'm honestly not sure what that warning is referring to, you might ask on the postfix list, I'm kinda curious. Anyway, the relay* settings work the way you think they do. We have the same setup here. This is part of the config on mx1.example.com. local_transport = error:local mail delivery is disabled. mydestination = relay_domains = cdb:/etc/postfix/maps/relay_domains relay_recipient_maps = cdb:/etc/postfix/maps/relay_recipient_maps relayhost = mail1.example.com virtual_transport = error:virtual mail delivery is disabled. You can set relayhost to do what you want: http://www.postfix.org/postconf.5.html#relayhost