kevin@harvard.ARPA (Kevin Crowston) (06/30/85)
I am, as mentioned in an earlier posting, writing an SMTP server for our Xerox Dandelions. Many people helped me with my initial query and I hope someone can clarify one specific point. When I receive a message, the SMTP envelope has a RCPT TO:<mailbox> 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 -- Kevin Crowston UUCP: {seismo,ut-sally}!harvard!kevin MIT Sloan School of Management ARPA: kevin@harvard.ARPA
eric@grkermi.UUCP (Eric N. Starkman) (07/01/85)
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:<mailbox> 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