home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / internet / a082_1 / !Rucp / Doc / rmail < prev    next >
Text File  |  1991-04-08  |  2KB  |  47 lines

  1.  Program: rmail.c 16 September 1990 
  2.  Arguments: One or more addresses to deliver mail to 
  3.  or "-t" to direct rmail to read the addresses from the RFC-822 header. 
  4.  
  5.  Optional argument "-f" to denote file to read in place of stdin. 
  6.  Optional argument "-F" to denote file to read in place of stdin and DELETE after readering. 
  7.  Optional argument "-x" to for debug level 
  8.  
  9.  Input: mail to be delivered, with RFC-822 header, on stdin. 
  10.  Output: 'From' and 'Received:' headers are added, 'Bcc:' headers are removed,
  11.  and the mail is delivered to one or more local users and/or one or more remote users. 
  12.  
  13.  Exit code: 0 Success 
  14.             1 One or more letters not delivered 
  15.             2 No mail delivered 
  16.             3 Configuration file error 
  17.             4 Invalid option/help specified 
  18.             5 Invalid option/help specified 
  19.  
  20.  Note: When parsing RFC-822 headers, this program 
  21.  expects them to be "well-behaved", that is in 
  22.  format generated by UUPC/extended. This implies: 
  23.  
  24.  One address per line 
  25.  
  26.  Resent- headers, if any, before the original headers. 
  27.  
  28.  From: header must precede To: header. 
  29.  
  30.  To: header must precede Cc: and Bcc: headers. 
  31.  
  32.  Cc: and Bcc: headers must be together (one 
  33.  after the other) 
  34.  
  35.  The MUA has prefixed any obsolete Resent- headers by X- 
  36.  
  37.  Note: The "-t" flag is supported by BSD sendmail for the 
  38.  purpose listed above, but we also turn use it to 
  39.  control other special options, all of which 
  40.  basically cause the program to act more like a 
  41.  local mailer than a remote mailer; these options 
  42.  include: 
  43.  
  44.  Stripping off blind carbon copies 
  45.  
  46.  Generating the UUCP From line differently 
  47.