Date: Thu, 23 Mar 2006 11:13:30 -0500 From: Bill Moran <wmoran@collaborativefusion.com> To: Steve Camp <steve@camp.com> Cc: freebsd-questions@freebsd.org Subject: Re: e-mail relaying without forwarding the entire message? Message-ID: <20060323111330.1493eb81.wmoran@collaborativefusion.com> In-Reply-To: <20060323082835.A9959@aslan.camp.com> References: <20060323082835.A9959@aslan.camp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Camp <steve@camp.com> 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: <sender@somedomain.com> > > <- 250 2.1.0 Sender ok > -> RCPT TO: <recipient@otherdomain.com> > <- 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: <sender@somedomain.com> > <- 250 2.1.0 Sender ok > -> RCPT TO: <recipient@otherdomain.com> > <- XYZ X.W.V Go See someotherserver.otherdomain.com for <recipient@otherdomain.com> > > 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 <forward-path>" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323111330.1493eb81.wmoran>