Difference between revisions of "SSMTP"

From CBLFS
Jump to navigationJump to search
Line 31: Line 31:
 
Compile the package:
 
Compile the package:
  
  sed -i "s/\(hostname\) --fqdn//" generate_config &&
+
  sed -i "/hostname/s/ --fqdn//" generate_config &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
Line 48: Line 48:
 
Compile the package:
 
Compile the package:
  
  sed -i "s/\(hostname\) --fqdn//" generate_config &&
+
  sed -i "/hostname/s/ --fqdn//" generate_config &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc &&
 
  make
 
  make
Line 61: Line 61:
 
Compile the package:
 
Compile the package:
  
  sed -i "s/\(hostname\) --fqdn//" generate_config &&
+
  sed -i "/hostname/s/ --fqdn//" generate_config &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 --sysconfdir=/etc  &&
 
     --libdir=/usr/lib32 --sysconfdir=/etc  &&
Line 75: Line 75:
 
Compile the package:
 
Compile the package:
  
  sed -i "s/\(hostname\) --fqdn//" generate_config &&
+
  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 &&

Revision as of 14:21, 6 April 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

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

sed -i "/hostname/s/ --fqdn//" generate_config &&
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:

sed -i "/hostname/s/ --fqdn//" generate_config &&
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

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=18062"