home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc561 < prev    next >
Text File  |  1991-04-21  |  6KB  |  181 lines

  1.      NWG/RFC# 561                   AKB KP RST JEW 5-SEP-73 11:19  18516
  2.      Standardizing Network Mail Headers           RFC 561 / NIC 18516
  3.  
  4.  
  5.  
  6.      RFC # 561                           Abhay Bhushan (AKB) MIT-DMCG
  7.      NIC # 18516                          Ken Pogran (KP) MIT-MULTICS
  8.                                         Ray Tomlinson (RST) BBN-TENEX
  9.                                               Jim White (JEW) SRI-ARC
  10.                                                        5 September 73
  11.  
  12.  
  13.                     Standardizing Network Mail Headers
  14.  
  15.  
  16.                                                                        
  17.  
  18.      One of the deficiences of the current FTP mail protocol is that
  19.      it makes no provision for the explicit specification of such
  20.      header information as author, title, and date.  Many systems
  21.      send that information, but each in a different format.  One
  22.      fairly serious result of this lack of standardization is that
  23.      it's next to impossible for a system or user program to
  24.      intelligently process incoming mail.                              
  25.  
  26.      Although the long-term solution to the problem is probably to
  27.      add commands for specifying such information to the mail
  28.      protocol command space (as suggested in RFC 524 -- 17140,), we
  29.      hereby propose a more quickly implemented solution for the
  30.      interim.                                                          
  31.  
  32.      We suggest that the text of network mail, whether transmitted
  33.      over the FTP telnet connection (via the MAIL command) or over a
  34.      separate data connection (with the MLFL command), be governed by
  35.      the syntax below:                                                 
  36.  
  37.         Example:                                                      
  38.  
  39.            From: White at SRI-ARC
  40.            Date: 24 JUL 1973 1527-PDT
  41.            Subject: Multi-Site Journal Meeting Announcement
  42.            NIC: 17996
  43.            
  44.            At 10 AM Wednesday 25-JULY there will be a meeting
  45.            to discuss a Multi-Site Journal in the context of
  46.            the Utility.  Y'all be here.                              
  47.  
  48.         Formal Syntax:                                               
  49.  
  50.            <mailtext>    ::= <header> <CRLF> <message>               
  51.            <header>      ::= <headeritem> ! <headeritem> <header>    
  52.            <headeritem>  ::= <item> <CRLF>                           
  53.            <item>        ::= <authoritem> ! <dateitem> !
  54.                              <subjectitem> ! <miscitem>              
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                 1
  61.      NWG/RFC# 561                   AKB KP RST JEW 5-SEP-73 11:19  18516
  62.      Standardizing Network Mail Headers           RFC 561 / NIC 18516
  63.  
  64.  
  65.  
  66.            <authoritem>  ::= FROM: <SP> <user> <SP> AT <SP> <host>   
  67.            <dateitem>    ::= DATE: <SP> <date> <SP> <time> - <zone>  
  68.            <subjectitem> ::= SUBJECT: <SP> <line>                    
  69.            <miscitem>    ::= <keyword> : <SP> <line>                 
  70.            <date>        ::= <vdate> ! <tdate>                       
  71.            <vdate>       ::= <dayofmonth> <SP> <vmonth> <SP> <vyear>
  72.                                                                     
  73.            <tdate>       ::= <tmonth> / <dayofmonth> / <tyear>      
  74.            <dayofmonth>  ::= one or two decimal digits              
  75.            <vmonth>      ::= JAN ! FEB ! MAR ! APR ! MAY ! JUN !
  76.                              JUL ! AUG ! SEP ! OCT ! NOV ! DEC      
  77.            <tmonth>      ::= one or two decimal digits              
  78.            <vyear>       ::= four decimal digits                    
  79.            <tyear>       ::= two decimal digits                     
  80.            <zone>        ::= EST ! EDT ! CST ! CDT ! MST ! MDT !
  81.                              PST ! PDT ! GMT ! GDT                  
  82.            <time>        ::= four decimal digits                    
  83.            <user>        ::= <word>                                 
  84.            <host>        ::= a standard host name                   
  85.            <message>     ::= <line> <CRLF> ! <line> <CRLF> <message>
  86.                                                                     
  87.            <keyword>     ::= <word>                                 
  88.            <line>        ::= a string containing any of the 128 ASCII
  89.                              characters except CR and LF            
  90.            <word>        ::= a string containing any of the 128 ASCII
  91.                              characters except CR, LF, and SP       
  92.            <CRLF>        ::= CR LF                                  
  93.            <SP>          ::= space                                  
  94.  
  95.         Please note the following:                                  
  96.  
  97.            (1) <authoritem>, <dateitem>, and <subjectitem> may each
  98.            appear at most once in <header>; <miscitem> may occur any
  99.            number of times.  The order of <authoritem>, <dateitem>,
  100.            and <subjectitem> is insignificant, but they must proceed
  101.            all occurrences of <miscitem>.                           
  102.            (2) The case (upper or lower) of keywords -- specifically,
  103.            'FROM', 'DATE', 'SUBJECT' ,'AT', <host>, <zone>, <vmonth>
  104.            and <keyword> -- is insignificant.  Although 'FROM', for
  105.            example, appears in upper-case in the formal syntax above,
  106.            in the header of an actual message it may appear as 'From'
  107.            (as in the example), or 'from', or 'FrOm', etc.          
  108.            (3) No attempt has been made to legislate the format of
  109.            <user>, except to exclude spaces from it.                
  110.            (4) The time has no internal punctuation.                
  111.            (5) No provision is made for multiple authors.           
  112.  
  113.      We recommend that mail-sending subsystems which prefix header
  114.      information to the text of the user's message be modified
  115.  
  116.  
  117.  
  118.  
  119.  
  120.                                 2
  121.      NWG/RFC# 561                   AKB KP RST JEW 5-SEP-73 11:19  18516
  122.      Standardizing Network Mail Headers           RFC 561 / NIC 18516
  123.  
  124.  
  125.  
  126.      appropriately, and that other hosts recommend the above
  127.      conventions to their users.                                    
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.                                  3
  180.  
  181.