home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 500s / rfc561.txt < prev    next >
Text File  |  1997-09-19  |  6KB  |  177 lines

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