ssmtp

SSMTP is used to send outgoing emails without a mail server. It hands off all mail delivery to a third party client.

Sample configuration using all options

# User to get all emails for userids less than 1000
Root=root
# Third-party SMTP server, port
Mailhub=smtp.server.com:25
# The source domain, what domain the email comes "from"
RewriteDomain=clients-website.com
# FQDN Hostname, if unset, checks the system
Hostname=clients-website.com
# Email address that it is from
FromLineOverride=info@clients-website.com
# Use TLS to talk to the SMTP server.  Default is no
UseTLS=YES
# Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation.
UseSTARTTLS=YES
# The user name to use for SMTP AUTH.  The default is blank, in which case SMTP AUTH is not used.
AuthUser=user@smtp.server.com
# The password to use for SMTP AUTH.
AuthPass=password
# The authorization method to use.  If unset, plain text is used. May also be set to “cram-md5”.
AuthMethod=