home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b-upd3.lha / upd3 / man / sendmail < prev    next >
Encoding:
Text File  |  1994-01-22  |  5.0 KB  |  155 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.     (Also enables DomainPath for news.) Places your fully domained
  92.     host name in mail headers instead of USENET node name.    Use ONLY
  93.     if your feed requires it.  Default N
  94.  
  95.     LogMail    Y/N
  96.     If set, sendmail and rmail will log information about each mail
  97.     message sent and received. By default, this information is placed
  98.     into UUSpool:MailLog, but that may be modified with the MAILLOG
  99.     configuration option.
  100.  
  101.     MailLog
  102.     Where to log mail send/receive information. See LogMail.
  103.  
  104.     MaxRMailLen
  105.     If 0, means only one recipient per queue file is allowed (some
  106.     mailers are restricted like this).  If non-zero, then specifies
  107.     maximum length, in bytes, that the 'C rmail' line in the X.
  108.     file may be.  If the recipient list is larger than the buffer
  109.     length, then multiple queue files will be generated.
  110.  
  111.     MailBounce    Y/N
  112.     Enables mail bouncing, Default N, remember that you must also
  113.     then remove the '*' (default node) entry in your Domain file
  114.     to have this do anything reasonable.
  115.  
  116.     MailReadyCmd
  117.     A command to be executed when a local delivery of mail occurs.
  118.     Executed only once per sendmail/rmail invocation.
  119.  
  120.     NodeName
  121.     (Also used by news.) Defines the name of your computer system.
  122.     No default.
  123.  
  124.     SmartUUCP    Y/N
  125.     If SmartUUCP is set, then the "From " line generated by sendmail
  126.     does not contain a "remote from" string, instead it contains a
  127.     fully qualified domain name (FQDN). Some UUCP systems do not
  128.     support a FQDN in the "From " line. Default N.
  129.  
  130.     StripUUCP    Y/N
  131.     Strips the ".UUCP" off any addresses that have it for Domain
  132.     comparisons. Primarily there for the UUNET.CA folks. Default N.
  133.  
  134.     TimeZone
  135.     (Also used by news.) Defines the TIMEZONE used in generating
  136.     dates. May be in +0700/-0400 format. Defaults to +0600.
  137.  
  138.     UUX
  139.     The name of the UUX program to execute to send mail via UUCP.
  140.     Prior to 1.17, SENDMAIL built UUCP control files directly. Now
  141.     it calls UUX to do so.
  142.  
  143. NOTES
  144.  
  145.     (1) Any unqualified To: or Cc: fields (i.e. local users) will be
  146.     qualified with your machine's full domain name.  This includes
  147.     local users in aliases.
  148.  
  149.     (2) Sendmail will attempt to group multiple recipients of a given
  150.     message into a single batch file, if possible.
  151.  
  152.     (3) See UUMan:Aliases for a description of the way aliases are expanded
  153.     on the To: field. A double-colon specification in the alias causes
  154.     it to NOT be expanded in the To: field.
  155.