BSD Ports

mail/ssmtp 2.64_7 FreeBSD

Extremely simple MTA to get mail off the system to a mail hub

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
mail
Package size
21.2 KiB, 38.5 KiB installed

Description

A secure, effective and simple way of getting mail off a system to your mail hub. It does not include a mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration.

WARNING: the above is all it does; it does not receive mail, expand aliases or manage a queue. That belongs on a mail hub with a system administrator.

In the other systems

SystemPortVersion
FreeBSDmail/ssmtp2.64_7
NetBSDmail/ssmtp2.64nb5
DragonFlymail/ssmtp2.64_7

Install

Binary package:

pkg install ssmtp

From the ports tree:

cd /usr/ports/mail/ssmtp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ssmtp>0:mail/ssmtp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.64_72.64_72.64_72.64_72.64_7
FreeBSD:14:quarterly2.64_72.64_7n/a2.64_72.64_7
FreeBSD:15:latest2.64_72.64_7n/a2.64_72.64_7
FreeBSD:15:quarterly2.64_72.64_7n/an/an/a
FreeBSD:16:latest2.64_72.64_7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 3

No port depends on this one.

Configuration

Options name: mail_ssmtp

OptionDefaultDescription
CRAMMD5onCRAM-MD5 authentication support
IPV6offIPv6 protocol support
LOGFILEoffLog file
OPENSSLonSSL/TLS support via OpenSSL
USERPREFSoffUser-defined revaliases in ~/.ssmtprc
XORIGIPonX-Originating-IP header for REMOTE_ADDR envvar
USES
gmake tar:bzip2
Service scripts
none

Message after installing

sSMTP has been installed successfully.

Firstly, edit /etc/mail/mailer.conf to replace sendmail with ssmtp:

sendmail	/usr/local/sbin/ssmtp
send-mail	/usr/local/sbin/ssmtp
mailq		/usr/local/sbin/ssmtp
newaliases	/usr/local/sbin/ssmtp
hoststat	/usr/bin/true
purgestat	/usr/bin/true

Hint: in case sSMPT is being installed directly from ports,
editing /etc/mail/mailer.conf can be done by running "make replace".

Secondly, edit the following files to configure sSMTP:

- /usr/local/etc/ssmtp/revaliases
- /usr/local/etc/ssmtp/ssmtp.conf

At this point sSMTP should be ready to go.

===>   NOTICE:

The ssmtp port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 2
  • ssmtp(8)
  • ssmtp.conf(5)
pkg-plist 6
  • @(,ssmtp,2555) sbin/ssmtp
  • @sample(,ssmtp,640) etc/ssmtp/revaliases.sample
  • @sample(,ssmtp,640) etc/ssmtp/ssmtp.conf.sample
  • share/man/man5/ssmtp.conf.5.gz
  • share/man/man8/ssmtp.8.gz
  • @dir(,ssmtp,750) etc/ssmtp
distinfo 1
FileSizeSHA256
ssmtp_2.64.orig.tar.bz25250122c37dc90c871e8e052b2cab0ad219d010fa938608cd66b21c8f3c759046fa36
Master sites 1
  • DEBIAN_POOL

Commit history 0

No commits in the history this site was built from.