home *** CD-ROM | disk | FTP | other *** search
-
- NAME
- SendMail
- RMail
-
- SYNOPSIS
- SendMail <mailfile [-f user] [-R realname] [-t to] [-c ccto] [-b bccto]
- [-s subject] [-r] [-raw]
-
- RMail <mailfile users...
-
- DESCRIPTION
-
- -r is specified to force sendmail not to process the 'From ' header
- and is automatically specified when sendmail is run as rmail. Note
- that if run as rmail, the command line contains only To: addresses.
- options are ignored.
-
- For sending mail, all options are optional. SendMail will process
- and regenerate the Subject:, To:, Cc:, and Bcc: lines, appending
- any additional specifications on the command line. SendMail will
- generate From:, Date:, and other required headers, then send the
- mail to the appropriate destination.
-
- A given mail file consists of zero or more headers, a blank line,
- then the mail contents. The -raw option may be used for unformatted
- mail (see below).
-
- -f user
-
- Specify user sourcing the mail, generates a 'From:' header. This
- header will be overridden by any From: headers in the data file.
-
- -R realname
-
- Specify real name of user sourcing the mail. This name is placed
- in parenthesis after the user name in the generated 'From:' header.
-
- -t to
-
- Specify an email address to send the mail to.
-
- -c ccto
-
- Specify an email address to send a carbon copy to.
-
- -b bccto
-
- Specify an email address to send a blind carbon copy to (other
- (recipients do not know you sent the mail to this address because
- the Bcc: line is never propogated).
-
- -s subject
-
- Specify the subject of the article. The subject must be placed in
- quotes if it contains tabs or spaces.
-
- -r
-
- Specify that sendmail is to go into 'rmail' mode. This mode also
- occurs if sendmail is renamed to rmail and run as rmail. In this
- mode, the very first line of the data file MUST be in the 'From '
- form (From with a space and no colon), as in UUCP received mail.
- After this headers are expected, then a blank line, then the mail
- data.
-
- If not specified and sendmail is run, the 'From ' is not expected
- but the headers, blank line, and mail are.
-
- -raw
-
- Specify that the the TEXT BODY ON STDIN IS UNFORMATTED. Sendmail
- does not attempt to scan the text body for headers but assumes it
- is entirely data. Otherwise, the text body must contain zero or
- more headers, a blank line, and then the text body.
-
- For example:
-
- sendmail <datafile -f root -t marco -s test
-
- Where the datafile (on stdin) is not formatted... does not contain
- any headers or even necessarily a blank line at the beginning.
-
- UULib:Config
-
- BounceCcPostMaster Y/N
-
- If a message is bounced, for any reason, then the local postmaster
- will receive a copy of the error message and the headers.
-
- The postmaster does *not* receive a copy of the body of the message.
-
- BounceNoDomain Y/N
-
- Default: N.
-
- If a domain is invalid, or the incoming message is not for this
- domain, then bounce the message.
-
- Remember that you must also remove the '*' (default node) entry in
- your Domain file to have this do anything reasonable.
-
- Prior to 1.17beta4, this option was known as MailBounce.
-
- BounceNoUser Y/N
-
- If a user is invalid, based on Checkuser, or if a message cannot be
- delivered for any reason, then return the message to the originator.
-
- Otherwise, drop the message.
-
- CheckUser
-
- A program which will validate the existence of the specified local
- user. Sendmail will call the specified program as:
-
- checkuser username
-
- The program should output (to stdout) either a "*" followed by
- anything, which indicates that address is invalid, or repeat
- the username.
-
- When "*" is output, sendmail will bounce the mail.
-
- DomainName
-
- (Also used for News.) The domain in which your system resides.
- Default ".UUCP".
-
- DomainPath Y/N
-
- (Also enables DomainPath for news.) Places your fully domained
- host name in mail headers instead of USENET node name. Use ONLY
- if your feed requires it. Default N
-
- LogMail Y/N
-
- If set, sendmail and rmail will log information about each mail
- message sent and received. By default, this information is placed
- into UUSpool:MailLog, but that may be modified with the MAILLOG
- configuration option.
-
- MailLog
-
- Where to log mail send/receive information. See LogMail.
-
- MaxRMailLen
-
- If 0, means only one recipient per queue file is allowed (some
- mailers are restricted like this). If non-zero, then specifies
- maximum length, in bytes, that the 'C rmail' line in the X.
- file may be. If the recipient list is larger than the buffer
- length, then multiple queue files will be generated.
-
- MailReadyCmd
-
- A command to be executed when a local delivery of mail occurs.
- Executed only once per sendmail/rmail invocation.
-
- NodeName
-
- (Also used by news.) Defines the name of your computer system.
- No default.
-
- SmartUUCP Y/N
-
- If SmartUUCP is set, then the "From " line generated by sendmail
- does not contain a "remote from" string, instead it contains a
- fully qualified domain name (FQDN). Some UUCP systems do not
- support a FQDN in the "From " line. Default N.
-
- StripUUCP Y/N
-
- Strips the ".UUCP" off any addresses that have it for Domain
- comparisons. Primarily there for the UUNET.CA folks. Default N.
-
- TimeZone
-
- (Also used by news.) Defines the TIMEZONE used in generating
- dates. May be in +0700/-0400 format. Defaults to +0600.
-
- UUX
-
- The name of the UUX program to execute to send mail via UUCP.
- Prior to 1.17, SENDMAIL built UUCP control files directly. Now
- it calls UUX to do so.
-
- NOTES
-
- (1) Any unqualified To: or Cc: fields (i.e. local users) will be
- qualified with your machine's full domain name. This includes
- local users in aliases.
-
- (2) Sendmail will attempt to group multiple recipients of a given
- message into a single batch file, if possible.
-
- (3) See UUMan:Aliases for a description of the way aliases are expanded
- on the To: field. A double-colon specification in the alias causes
- it to NOT be expanded in the To: field.
-