home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-man.lha / man / sendmail < prev    next >
Encoding:
Text File  |  1994-06-02  |  5.9 KB  |  200 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.     BounceCcPostMaster Y/N
  87.  
  88.     If a message is bounced, for any reason, then the local postmaster
  89.     will receive a copy of the error message and the headers.
  90.  
  91.     The postmaster does *not* receive a copy of the body of the message.
  92.  
  93.     BounceNoDomain     Y/N
  94.  
  95.     Default: N.
  96.  
  97.     If a domain is invalid, or the incoming message is not for this
  98.     domain, then bounce the message.
  99.  
  100.     Remember that you must also remove the '*' (default node) entry in
  101.     your Domain file to have this do anything reasonable.
  102.  
  103.     Prior to 1.17beta4, this option was known as MailBounce.
  104.  
  105.     BounceNoUser       Y/N
  106.  
  107.     If a user is invalid, based on Checkuser, or if a message cannot be
  108.     delivered for any reason, then return the message to the originator.
  109.  
  110.     Otherwise, drop the message.
  111.  
  112.     CheckUser
  113.  
  114.     A program which will validate the existence of the specified local
  115.     user. Sendmail will call the specified program as:
  116.  
  117.         checkuser username
  118.  
  119.     The program should output (to stdout) either a "*" followed by
  120.     anything, which indicates that address is invalid, or repeat
  121.     the username.
  122.  
  123.     When "*" is output, sendmail will bounce the mail.
  124.  
  125.     DomainName
  126.  
  127.     (Also used for News.) The domain in which your system resides.
  128.     Default ".UUCP".
  129.  
  130.     DomainPath    Y/N
  131.  
  132.     (Also enables DomainPath for news.) Places your fully domained
  133.     host name in mail headers instead of USENET node name.    Use ONLY
  134.     if your feed requires it.  Default N
  135.  
  136.     LogMail    Y/N
  137.  
  138.     If set, sendmail and rmail will log information about each mail
  139.     message sent and received. By default, this information is placed
  140.     into UUSpool:MailLog, but that may be modified with the MAILLOG
  141.     configuration option.
  142.  
  143.     MailLog
  144.  
  145.     Where to log mail send/receive information. See LogMail.
  146.  
  147.     MaxRMailLen
  148.  
  149.     If 0, means only one recipient per queue file is allowed (some
  150.     mailers are restricted like this).  If non-zero, then specifies
  151.     maximum length, in bytes, that the 'C rmail' line in the X.
  152.     file may be.  If the recipient list is larger than the buffer
  153.     length, then multiple queue files will be generated.
  154.  
  155.     MailReadyCmd
  156.  
  157.     A command to be executed when a local delivery of mail occurs.
  158.     Executed only once per sendmail/rmail invocation.
  159.  
  160.     NodeName
  161.  
  162.     (Also used by news.) Defines the name of your computer system.
  163.     No default.
  164.  
  165.     SmartUUCP    Y/N
  166.  
  167.     If SmartUUCP is set, then the "From " line generated by sendmail
  168.     does not contain a "remote from" string, instead it contains a
  169.     fully qualified domain name (FQDN). Some UUCP systems do not
  170.     support a FQDN in the "From " line. Default N.
  171.  
  172.     StripUUCP    Y/N
  173.  
  174.     Strips the ".UUCP" off any addresses that have it for Domain
  175.     comparisons. Primarily there for the UUNET.CA folks. Default N.
  176.  
  177.     TimeZone
  178.  
  179.     (Also used by news.) Defines the TIMEZONE used in generating
  180.     dates. May be in +0700/-0400 format. Defaults to +0600.
  181.  
  182.     UUX
  183.  
  184.     The name of the UUX program to execute to send mail via UUCP.
  185.     Prior to 1.17, SENDMAIL built UUCP control files directly. Now
  186.     it calls UUX to do so.
  187.  
  188. NOTES
  189.  
  190.     (1) Any unqualified To: or Cc: fields (i.e. local users) will be
  191.     qualified with your machine's full domain name.  This includes
  192.     local users in aliases.
  193.  
  194.     (2) Sendmail will attempt to group multiple recipients of a given
  195.     message into a single batch file, if possible.
  196.  
  197.     (3) See UUMan:Aliases for a description of the way aliases are expanded
  198.     on the To: field. A double-colon specification in the alias causes
  199.     it to NOT be expanded in the To: field.
  200.