SSMTP: Difference between revisions

From CBLFS
Jump to navigationJump to search
m Categorized
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:
Compile the package:
Compile the package:


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


== Multilib ==
== Multilib ==
<b>This package does not provide any libraries so only one installation is required.</b>
=== 32Bit ===
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc &&
make
Install the package:
make install &&
ln -svf /usr/sbin/ssmtp /usr/bin/mail
=== N32 ===
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --sysconfdir=/etc  &&
make
Install the package:
make install &&
ln -svf /usr/sbin/ssmtp /usr/bin/mail


=== 64Bit ===
=== 64Bit ===
Line 72: Line 46:
Compile the package:
Compile the package:


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

Latest revision as of 05:42, 26 July 2009

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"