From owner-freebsd-questions@FreeBSD.ORG Thu Mar 23 16:13:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA11916A422 for ; Thu, 23 Mar 2006 16:13:50 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5A543D8E for ; Thu, 23 Mar 2006 16:13:32 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-250-148.pittpa.adelphia.net [24.53.250.148]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Thu, 23 Mar 2006 11:13:31 -0500 id 00056407.4422C92B.0000D5E1 Date: Thu, 23 Mar 2006 11:13:30 -0500 From: Bill Moran To: Steve Camp Message-Id: <20060323111330.1493eb81.wmoran@collaborativefusion.com> In-Reply-To: <20060323082835.A9959@aslan.camp.com> References: <20060323082835.A9959@aslan.camp.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: e-mail relaying without forwarding the entire message? 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: Thu, 23 Mar 2006 16:13:50 -0000 Steve Camp wrote: > When one MTA attempts to deliver an e-mail message to another MTA, the > conversation looks something like: > > -> HELO somedomain.com > <- 250 Hello somedomain.com > -> MAIL FROM: > > <- 250 2.1.0 Sender ok > -> RCPT TO: > <- 250 2.1.5 Recipient ok > -> DATA > <- 354 Enter mail > ... > <- 250 2.0.0 Message accepted for delivery > > My question involves redirecting the sending MTA to a different > receiving MTA. Rather than the initial receiving MTA having to accept > the entire message (all the DATA) and then forward it on to another > MTA, the initial receiving MTA simply "redirects" the sending MTA to > another MTA -- preferably the MTA that actually handles the e-mail for > "recipient@otherdomain.com". > > The conversation that I envision would look something like: > > -> MAIL FROM: > <- 250 2.1.0 Sender ok > -> RCPT TO: > <- XYZ X.W.V Go See someotherserver.otherdomain.com for > > Is such a redirection possible? > > Is it hard to configure? > > Have I just described "relaying"? According to RFC-821, it looks like "551 User not local; please try " should accomplish what you want. I've never seen this implemented, however, so I don't know if sending MTAs react to it correctly. -- Bill Moran Potential Technologies http://www.potentialtech.com