home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / wUUCP_0.0.29.lha / man / sendmail.doc < prev    next >
Encoding:
Text File  |  1994-06-12  |  4.4 KB  |  129 lines

  1.  
  2. NAME
  3.     SendMail
  4.     RMail
  5.  
  6. SYNOPSIS
  7.     SendMail <mailfile [-f user] [-R realname] [-t to] [-c ccto] [-b bccto]
  8.                        [-s subject] [-r] [-raw]
  9.  
  10.     RMail <mailfile users...
  11.  
  12. DESCRIPTION
  13.  
  14.     -r is specified to force sendmail not to process the 'From ' header
  15.     and is automatically specified when sendmail is run as rmail.  Note
  16.     that if run as rmail, the command line contains only To: addresses.
  17.     options are ignored.
  18.  
  19.     For sending mail,  all options are optional.  SendMail will process
  20.     and regenerate the Subject:, To:,  Cc:,  and Bcc: lines,  appending
  21.     any additional  specifications  on the command line.  SendMail will
  22.     generate From:,  Date:,  and other required headers,  then send the
  23.     mail to the appropriate destination.
  24.  
  25.     A given mail file  consists of zero or more headers,  a blank line,
  26.     then the mail contents. The -raw option may be used for unformatted
  27.     mail (see below).
  28.  
  29.     -f user
  30.  
  31.         Specify user sourcing the mail, generates a 'From:' header.  This
  32.         header will be overridden  by any From: headers in the data file.
  33.  
  34.     -R realname
  35.  
  36.         Specify  real name of user sourcing the mail.  This name is  placed
  37.         in parenthesis after the user name in the generated 'From:' header.
  38.  
  39.     -t to
  40.  
  41.         Specify an email address to send the mail to.
  42.  
  43.     -c ccto
  44.  
  45.         Specify an email address to send a carbon copy to.
  46.  
  47.     -b bccto
  48.  
  49.         Specify  an email address  to send a blind  carbon copy to  (other
  50.         (recipients  do not know you sent the mail to this address because
  51.         the Bcc: line is never propogated).
  52.  
  53.     -s subject
  54.  
  55.         Specify the subject of the article.  The subject must be placed in
  56.         quotes if it contains tabs or spaces.
  57.  
  58.     -r
  59.  
  60.         Specify that  sendmail is to go into 'rmail' mode.  This mode also
  61.         occurs if sendmail is renamed to rmail and run as  rmail.  In this
  62.         mode,  the very first line of the data file MUST be in the 'From '
  63.         form  (From with a space and no colon),  as in UUCP received mail.
  64.         After this headers are expected, then a blank line,  then the mail
  65.         data.
  66.  
  67.         If not specified and sendmail is run,  the 'From ' is not expected
  68.         but the headers, blank line, and mail are.
  69.  
  70.     -raw
  71.  
  72.         Specify  that the the TEXT BODY ON STDIN IS UNFORMATTED.  Sendmail
  73.         does not attempt to scan the text body for  headers but assumes it
  74.         is entirely  data.  Otherwise,  the text body must contain zero or
  75.         more headers, a blank line, and then the text body.
  76.  
  77.         For example:
  78.  
  79.                 sendmail <datafile -f root -t marco -s test
  80.  
  81.         Where the datafile (on stdin) is not formatted... does not contain
  82.         any headers or even necessarily a blank line at the beginning.
  83.  
  84. UULib:Config
  85.  
  86.     DomainName
  87.         (Also used for News.) The domain in which your system resides.
  88.         Default ".UUCP".
  89.  
  90.     DomainPath  Y/N
  91.         Places your fully domained host name in mail headers instead
  92.         of USENET node name. Default N
  93.  
  94.     MaxRMailLen
  95.         If 0, means only one recipient per queue file is allowed (some
  96.         mailers are restricted like this).  If non-zero, then specifies
  97.         maximum length, in bytes, that the 'C rmail' line in the X.
  98.         file may be.  If the recipient list is larger than the buffer
  99.         length, then multiple queue files will be generated.
  100.  
  101.     MailBounce  Y/N
  102.         Enables mail bouncing, Default N, remember that you must also
  103.         then remove the '*' (default node) entry in your Domain file
  104.         to have this do anything reasonable.
  105.  
  106.     MailReadyCmd
  107.         A command to be executed when a local delivery of mail occurs.
  108.         Executed only once per sendmail/rmail invocation.
  109.  
  110.     NodeName
  111.         Defines the name of your computer system. No default.
  112.  
  113.     TimeZone
  114.         Defines the TIMEZONE used in generating dates. May NOT be in
  115.         +0700/-0400 format. Defaults to CST+6.
  116.  
  117. NOTES
  118.  
  119.     (1) Any unqualified To: or Cc: fields (i.e. local users) will be
  120.         qualified with your machine's full domain name.  This includes
  121.         local users in aliases.
  122.  
  123.     (2) Sendmail will attempt to group multiple recipients of a given
  124.         message into a single batch file, if possible.
  125.  
  126.     (3) See UUMan:Aliases for a description of the way aliases are expanded
  127.         on the To: field. A double-colon specification in the alias causes
  128.         it to NOT be expanded in the To: field.
  129.