Path: utzoo!attcan!uunet!cs.utexas.edu!fletcher From: fletcher@cs.utexas.edu (Fletcher Mattox) Newsgroups: comp.mail.mush Subject: Re: mush vs X.400 Message-ID: <10702@cs.utexas.edu> Date: 31 Jul 90 14:57:32 GMT References: <9007310155.AA22104@cse.ogi.edu> Organization: U. Texas CS Dept., Austin, Texas Lines: 24 Barton E. Schaefer writes: =On Jul 30, 11:12pm, Fletcher Mattox wrote: =} Subject: mush vs X.400 =} =} We're starting to see addresses on the From: line like: =} =} /PN=whoever/O=foo/ADMD=telemail/C=us/@sprint.com =} =} Mush wants to parse this address as a filename. Whoops. = =Change line 398 to either omit the '/' comparison or to do a more =sophisticated check such as: = = 398 *file == '|' || *file == '/' && !index(file, '=')) { = =In fact, I think I'll put that latter one into patch #3, unless someone =can suggest a better heuristic. I guess I'd rather see @ checked than =. More in the spirit of rfc822. Even though most MTAs will disallow mail to files, /etc/passwd@big.edu is still a legitimate address which the = check would disallow. :-) No biggie, though. I'll settle for =.