Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!tut.cis.ohio-state.edu!cwjcc!pirate!chet From: chet@pirate.CWRU.EDU (Chet Ramey) Newsgroups: comp.mail.headers Subject: Re: To parse the unparseable dream Message-ID: <210@cwjcc.CWRU.Edu> Date: 25 Oct 88 18:31:17 GMT Article-I.D.: cwjcc.210 References: <3566@phri.UUCP> Sender: news@cwjcc.CWRU.Edu Reply-To: chet@cwjcc.CWRU.EDU (Chet Ramey) Organization: CWRU Andrew R. Jennings Computing Center Lines: 33 In article <3566@phri.UUCP> roy@phri.UUCP (Roy Smith) writes: > What would you do if you saw the following on a To: line? >Roy Smith I would (and so would my sendmail.cf) send the whole mess to Xerox and let them deal with it. This is a strict interpretation of RFC-822. >Where would you start if you wanted to try to parse this, or would you just >say it's illegal and throw up your hands? If I wanted to parse it, I'd take whatever's between the brackets, throw out the comments, and work on what's left. (And what is a sendmail.cf, if not the embodiment of it's creator's ideas about mail routing and addressing? :-) So, if you feed it through ruleset 3, it'll come back as philabs.philips.com.weiser.pa<@xerox.com> so that seems OK so far (of course, it may not be what was intended). Then try to resolve xerox.com, since we don't touch the local part, and send it off to them (hell, for all I know, Grapevine might actually make that local part into something useful when it gets there). Chet Ramey Network Operations Group, CWRU chet@cwjcc.CWRU.EDU Chet Ramey chet@cwjcc.CWRU.EDU Network Management Group chet@alpha.CES.CWRU.EDU Andrew R. Jennings Computing Center chet@pirate.CWRU.EDU Case Western Reserve University