Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/3/84; site grkermi.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!grkermi!eric
From: eric@grkermi.UUCP (Eric N. Starkman)
Newsgroups: net.mail,net.mail.headers
Subject: Re: RCPT TO vs. To:
Message-ID: <486@grkermi.UUCP>
Date: Mon, 1-Jul-85 09:06:34 EDT
Article-I.D.: grkermi.486
Posted: Mon Jul  1 09:06:34 1985
Date-Received: Fri, 5-Jul-85 03:09:22 EDT
References: <225@harvard.ARPA>
Reply-To: starkman@mit-athena.ARPA (Eric N. Starkman)
Distribution: net
Organization: GenRad, Inc., Concord, Mass.
Lines: 29
Xref: watmath net.mail:903 net.mail.headers:492
Summary: 

In article <225@harvard.ARPA> kevin@harvard.ARPA (Kevin Crowston) writes:
>an SMTP server for our Xerox Dandelions.  Many
>
>When I receive a message, the SMTP envelope has a
>RCPT TO: line.  In addition, the letter has
>a header field To: mailbox.  Do I need to look at
>both?  Should I ignore the lines in the letter's
>822 header when delivering the letter?  (This would
>be easier than trying to parse the whole thing.)
>
>Kevin Crowston
>MIT Sloan School of Management
>-- 

What I've generally seen done is as follows:
The message is delivered to the people listen in the RCPT TO: things.
Period.

The message text (header) itself is then checked for a To: field and if
none if found, an Apparently-to: field is created and filled in with what
was passed to RCPT TO:

Likewise, the message text itself is scanned for a From: field and if none
is found, an Appanrently-From: field is created and filled in with what was
passed to RCPT To:

(Kevin- I'll send you messages over ARPA demonstrating this when I get a 
chance)
						-Eric Starkman