Re: e-mail relaying without forwarding the entire message?

2006-03-23 Thread Bill Moran
Steve Camp [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 
 - 250 2.1.0 Sender ok
 - RCPT TO: [EMAIL PROTECTED]
 - 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
 [EMAIL PROTECTED].
 
 The conversation that I envision would look something like:
 
 - MAIL FROM: [EMAIL PROTECTED]
 - 250 2.1.0 Sender ok
 - RCPT TO: [EMAIL PROTECTED]
 - XYZ X.W.V Go See someotherserver.otherdomain.com for [EMAIL 
 PROTECTED]
 
 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: e-mail relaying without forwarding the entire message?

2006-03-23 Thread Charles Swiger

On Mar 23, 2006, at 10:28 AM, Steve Camp wrote:

The conversation that I envision would look something like:

- MAIL FROM: [EMAIL PROTECTED]
- 250 2.1.0 Sender ok
- RCPT TO: [EMAIL PROTECTED]
- XYZ X.W.V Go See someotherserver.otherdomain.com for  
[EMAIL PROTECTED]


Is such a redirection possible?
Is it hard to configure?


Yes, it's possible, and no, it's fairly easy to configure.  You want:

FEATURE(redirect)

...if using sendmail, which does:

redirectReject all mail addressed to address.REDIRECT with
a ``551 User has moved; please try address'' message.
If this is set, you can alias people who have left
to their new address with .REDIRECT appended.

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]