SSMTP

From CBLFS
Jump to navigationJump to search
Download Source: ftp://ftp.debian.org/debian/pool/main/s/ssmtp/ssmtp_2.62.orig.tar.gz

Introduction to SSMTP

sSMTP is a secure, effective and simple way of getting mail off a system to your mail hub. It contains no suid-binaries, no mail spool, and no daemons. Mail is simply forwarded to the configured mailhost.

Project Homepage: http://packages.debian.org/stable/mail/ssmtp

Dependencies

Required

A mailhost to forward local outgoing mail.

Configuration Information

--enable-logfile: additional logging over and above syslog.
--enable-ssl: support for secure connection to the mail server.
--enable-inet6: support for IPv6 transport.
--enable-md5auth: support for MD5 authentication.

Non-Multilib

Compile the package:

sed -i "/hostname/s/ --fqdn//" generate_config &&
./configure --prefix=/usr --sysconfdir=/etc &&
make

Install the package:

make install &&
ln -svf /usr/sbin/ssmtp /usr/bin/mail

Multilib

64Bit

Compile the package:

sed -i "/hostname/s/ --fqdn//" generate_config &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --sysconfdir=/etc &&
make

Install the package:

make install &&
ln -svf /usr/sbin/ssmtp /usr/bin/mail

Configuring

Edit the files /etc/ssmtp/ssmtp.conf and /etc/ssmtp/revaliases as appropriate for your network.

Contents

Installed Directories: /etc/ssmtp
Installed Programs: ssmtp
Installed Libraries: None

Short Descriptions

ssmtp is a simple MTA.
Retrieved from "?title=SSMTP&oldid=18789"