home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / headers / 219 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.9 KB

  1. Path: sparky!uunet!bonnie.concordia.ca!daily-planet.concordia.ca!alcor.Concordia.CA!gpkatch
  2. From: gpkatch@alcor.concordia.ca (Gary Katch)
  3. Newsgroups: comp.mail.headers
  4. Subject: Is this RFC822 example illegal?
  5. Message-ID: <4580@daily-planet.concordia.ca>
  6. Date: 23 Jul 92 14:25:53 GMT
  7. Sender: usenet@daily-planet.concordia.ca
  8. Reply-To: Gary Katch <gpkatch@alcor.concordia.ca>
  9. Organization: Concordia University
  10. Lines: 34
  11. X-Mailing-Address: Computing Services C-1012
  12.   1455 De Maisonneuve West
  13.   Montreal (Quebec) H3G 1M8
  14. X-Phone-Numbers: voice (514) 848-7632
  15.   fax (514) 848-7622
  16. Originator: gpkatch@alcor
  17.  
  18. Sorry, I an reposting, last message got mangled.
  19.  
  20. I was looking at the syntax of In-Reply-To and References in
  21. RFC822.  Here are the relevant parts:
  22. --------
  23.      optional-field =
  24.      [...]
  25.                  /  "In-Reply-To"       ":"  *(phrase / msg-id)
  26.                  /  "References"        ":"  *(phrase / msg-id)
  27.      [...]
  28.      phrase      =  1*word                       ; Sequence of words
  29.      word        =  atom / quoted-string
  30.      quoted-string = <"> *(qtext/quoted-pair) <">; Regular qtext or
  31.      atom        =  1*<any CHAR except specials, SPACE and CTLs>
  32.      specials    =  "(" / ")" / "<" / ">" / "@"  ; Must be in quoted-
  33.                  /  "," / ";" / ":" / "\" / <">  ;  string, to use
  34.                  /  "." / "[" / "]"              ;  within a word.
  35.  
  36.      [Example]
  37.      A.3.3.  About as complex as you're going to get
  38.      [...]
  39.      In-Reply-To: <some.string@DBM.Group>, George's message
  40. -----------------------------------------^
  41.  
  42. Given that only phrases or message-id's can appear in the
  43. field-body, and that phrases are made of words and words of atoms,
  44. and an atom cannot be a special, then the comma following
  45. the address in the example is illegal, right?
  46.  
  47. Further, one could put neither addresses nor dates in the field-body
  48. unless these strings are quoted  (there is "." and "@" in addresses,
  49. and ":" and "," in dates).
  50.  
  51. -- gk
  52.