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 1Ph6CT-0007jf-Gm for garchives@archives.gentoo.org; Sun, 23 Jan 2011 20:06:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2632EE09A4 for ; Sun, 23 Jan 2011 20:06:13 +0000 (UTC) Received: from www01.badapple.net (www01.badapple.net [64.79.219.163]) by pigeon.gentoo.org (Postfix) with ESMTP id 617ECE085C for ; Sun, 23 Jan 2011 19:56:04 +0000 (UTC) Received: from [127.0.0.1] (unknown [76.14.68.122]) (Authenticated sender: ramin@badapple.net) by www01.badapple.net (Postfix) with ESMTPSA id 8F163844E07A for ; Sun, 23 Jan 2011 11:56:03 -0800 (PST) Message-ID: <4D3C87D1.7040307@badapple.net> Date: Sun, 23 Jan 2011 11:56:01 -0800 From: kashani User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 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] Setting up SMTP relay References: <4D3B4D53.7000209@wonkology.org> <4D3B53AC.904@badapple.net> <4D3C8041.2070105@wonkology.org> In-Reply-To: <4D3C8041.2070105@wonkology.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 55adc076e5f3b5331cd71fbcb14d50c7 On 1/23/2011 11:23 AM, Alex Schuster wrote: > > Relaying does not work yet, I get a "Relay access denied (in reply to > RCPT TO command)" error. But my initial goal is reached, I can send mail > to {root,wonko}@wonkology.org. That's all I wanted. > > Many many thanks kashani! Your howto is much more than I expected, it is > much appreciated. I realize that postfix is not too complicated, so I > will play more with it when I have some spare time. > Postifx is definitely worth the investment and people always seem surprised to find that 5-15 lines of config is all they need. You're welcome for the config. I spent most of last week learning the ins and out of authentication and relay hosts that hard way when I changed the domain of our servers and needed to update everything. I'm using a lot of EC2 machines and didn't want to maintain IP lists so I auth all servers trying to relay against my two Postfix servers. This config reflects that and might need some changes for your environment. kashani