|SSMTP(8)||System Manager's Manual||SSMTP(8)|
NAME¶ssmtp, sendmail - send a message using smtp
SYNOPSIS¶ssmtp [ flags ] [ address ... ]
DESCRIPTION¶ssmtp is a send-only sendmail emulator for machines which normally pick their mail up from a centralized mailhub (via pop, imap, nfs mounts or other means). It provides the functionality required for humans and programs to send mail via the standard or /usr/bin/mail user agents. It accepts a mail stream on standard input with recipients specified on the command line and synchronously forwards the message to the mail transfer agent of a mailhub for the mailhub MTA to process. Failed messages are placed in dead.letter in the sender's home directory. Config files allow one to specify the address to receive mail from root, daemon, etc.; a default mailhub; a default domain to be used in From: lines; and per-user From: addresses and mailhub names.
OPTIONS¶Most sendmail options are irrelevent to sSMTP. Those marked ``ignored'' or ``default'' have no effect on mail transfer. Those marked ``unsupported'' are fatal errors. Those marked ``simulated'' are not errors, but the result is for the program to exit with an informative message. A sort of fatal non-error.
- Forces ssmtp to use IPv4 addresses only.
- Forces ssmtp to use IPv6 addresses only.
- Specifies username for SMTP authentication.
- Specifies password for SMTP authentication.
- Specifies mechanism for SMTP authentication. (Only LOGIN
- (unsupported) ARPANET mode. All input lines must end with a
LINEFEED, and all messages will be generated with a CR-LF at the end.
Also, the ``From:'' and ``Sender:'' fields are examined for the name of
- (unsupported) Run as a daemon.
- (ignored) Initialise the alias database.
- (default) Deliver mail in the usual way.
- (simulated) Print a summary of the mail queue.
- (unsupported) Read SMTP commands from stdin.
- (unsupported) Run in address test mode.
- (unsupported) Verify names only.
- (unsupported) Create the configuration freeze file.
- Use alternate configuration file.
- Set debugging value to X.
- (ignored) Don't trust userid of sender.
- Set the full name of the sender.
- Sets the name of the ``from'' person. This option is valid
only if no From: line is specified within the header of the email.
- (ignored) Set the hop count to N.
- (ignored) Ignore originator in alias.
- (ignored) Attempt to deliver the queued message with
- -N dsn
- (ignored) Set delivery status notification conditions to
- (default) Do not do aliasing.
- (ignored) Use alternate alias file.
- (ignored) Delay ``expensive'' connections.
- (ignored) Set the delivery mode to interactive/synchronous,
background or queue (Always interactive).
- (ignored) Run newaliases if required.
- (ignored) Set error processing to mail, write, print or
quit. (Always print).
- (ignored) The mode to use when creating temporary files.
- (ignored) Save UNIX-system-style ``From'' lines at the
front of messages.
- (ignored) Set group ID to use when calling mailers.
- (ignored) Set SMTP help file.
- (default) Do not take dots on a line by themselves as a
- (ignored) The log level.
- (default) Send to ``me'' (the sender) also if in an alias.
- (unsupported) If set, this message may have old style
- (ignored) Select the directory in which to queue messages.
- (ignored) The timeout on reads.
- (ignored) Save statistics in the named file.
- (ignored) Always instantiate the queue.
- (ignored) Set timeout on messages.
- (ignored) Set the name of the time zone.
- (ignored) Set the default user id for mailers.
- (simulated) Process the queue.
- Same as -f.
- (ignored) Process queue for recipient.
- -R return
- (ignored) Set the amount of the message to be returned if
the message bounces.
- Read message, searching for recipients. ``To:'', `Cc:'',
and ``Bcc:'' lines will be scanned for people to send to. Any addresses in
the argument list will be suppressed (not supported).
- Go into verbose mode.
- Say version and quit.
REVERSE ALIASES¶A reverse alias gives the From: address placed on a user's outgoing messages and (optionally) the mailhub these messages will be sent through. Example:
/etc/ssmtp/ssmtp.conf - configuration file
/etc/ssmtp/revaliases - reverse aliases file
SEE ALSO¶RFC821, RFC822, ssmtp.conf(5).
AUTHORS¶Matt Ryan (firstname.lastname@example.org) Hugo Haas (email@example.com) Christoph Lameter (firstname.lastname@example.org) Dave Collier-Brown (email@example.com)
BUGS¶sSMTP does not support exception lists to the -t option (never seen it used).
|Last change: 4 February 2005|