CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

mail/sendmail 8.18.2_1

Reliable, highly configurable mail transfer agent with utilities

Port info

Maintainer
dinoex@FreeBSD.org
Packages
latest: 8.18.2_1
Upstream
up to date
Last update
to 8.18.2_1 · 61f6338738
Quarterly
2026Q4: 8.18.2_1
WWW
https://www.sendmail.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install sendmail
installs 8.18.2_1 from latest; from quarterly (2026Q4) 8.18.2_1
Port
# cd /usr/ports/mail/sendmail && make install clean
# make -C /usr/ports/mail/sendmail config  # change options first
Size
1.3 MiB download · 4.4 MiB installed
Depends on
security/cyrus-sasl2 2.1.28_6, security/cyrus-sasl2-saslauthd 2.1.28_4
License
Sendmail
Creates
user smmsp, group smmsp
Options
13 of 21 on in the package: BLOCKLISTD DANE DOCS IPV6 LA MILTER NIS PICKY_HELO_CHECK SASL SASLAUTHD SEM SHMEM TLS
Show the 8 options that are off
BDB CYRUSLOOKUP GDBM LDAP MTA_STS SMTPUTF8 SOCKETMAP TLS_CERT_CHAIN
pkg-message
Shown after installing
you should add in /etc/make.conf:
SENDMAIL_CF_DIR=	/usr/local/share/sendmail/cf

To deliver all local mail to your mailhub, edit the last line of submit.mc:
FEATURE(`msp','[mailhub.do.main]`)dnl

To update your configuration look at /usr/local/share/sendmail/cf/README.
---------------------------------------------------
To use the binaries supplied by the port you should add the following lines
to your sendmail.mc file before any mailer or feature definition:

define(`confEBINDIR', `/usr/local/libexec')dnl
define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl

---------------------------------------------------
To activate sendmail as your default mailer, run:
$ cd /usr/local/etc/mail && cp mailer.conf.sendmail mailer.conf

Your '/usr/local/etc/mail/mailer.conf' should look like this:
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail	/usr/local/sbin/sendmail
send-mail	/usr/local/sbin/sendmail
mailq		/usr/local/sbin/sendmail
newaliases	/usr/local/sbin/sendmail
hoststat	/usr/local/sbin/sendmail
purgestat	/usr/local/sbin/sendmail

You may also need to update /etc/rc.conf.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 168.18.2_18.18.2_1–
FreeBSD 158.18.2_18.18.2_1–
FreeBSD 148.18.2_18.18.2_18.18.2_1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 158.18.2_18.18.2_1–
FreeBSD 148.18.2_18.18.2_18.18.2_1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 8.18.2_1.

Fixed (1)

Show 1 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (306)

Dirk Meyer (dinoex) · 8.15.2_18
- set more macros
e9da812e75
Jan Beich (jbeich) · 8.15.2_18
devel/icu: update to 64.1

Changes:	http://site.icu-project.org/download/64
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		236325
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D19479
480c577baa
Dirk Meyer (dinoex) · 8.15.2_17
- simplify mailer.conf PR:		236553 Submitted by:	Helge Oldach
7aee9466b6
Dirk Meyer (dinoex) · 8.15.2_16
- additional blacklisting for frequent useless connections PR:		236605 Submitted by:	Helge Oldach
42af77c38a
Dirk Meyer (dinoex) · 8.15.2_16
- cleanup patch
921ea56f18
Sunpoet Po-Chuan Hsieh (sunpoet) · 8.15.2_16
Update dns/libidn2 to 2.1.1

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://gitlab.com/libidn/libidn2/blob/master/NEWS
dc7a01a3c8
Sunpoet Po-Chuan Hsieh (sunpoet) · 8.15.2_15
Update dns/libidn2 to 2.1.0

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://gitlab.com/libidn/libidn2/blob/master/NEWS
06e735460e
Dirk Meyer (dinoex) · 8.15.2_14
- extend blacklisting - cleanup rsa glue
54ac934cb1
Dirk Meyer (dinoex) · 8.15.2_13
- bump PORTREVISION
56d328be24
Dirk Meyer (dinoex) · 8.15.2_12
- remove some extraneous escaping in regex PR:		233454 Submitted by:	Kyle Evans
c0f004bd65
Alexey Dokuchaev (danfe) · 8.15.2_13
Update `databases/gdbm' to version 1.18.1, an important bugfix release which restores compatibility with old databases (version 1.8) and some later versions which were built without mmap(2) support.  Due to shlib version change, bump port revisions of the consumer ports.

PR:		233059
Exp-run by:	antoine
Approved by:	maintainer (johans, numerous timeouts)
936a36e30d
Rene Ladan (rene) · 8.15.2_12
Remove compatibility code for FreeBSD < 11.2 from all ports.

Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
8a502cb2d4
Jan Beich (jbeich) · 8.15.2_12
devel/icu: update to 63.1

Changes:	http://site.icu-project.org/download/63
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		232300
Exp-run by:	antoine
91f9922c6f
Dirk Meyer (dinoex) · 8.15.2_11
- make portlint happier
fd32fcb540
Dirk Meyer (dinoex) · 8.15.2_11
- bump MILTER_SOVER to fix linking on FREEBSD-12 - bump PORTREVISION on ports using libmilter - rename WITH_SENDMAIL_PORT to WITH_MILTER_PORT - rename WITH_SENDMAIL_BASE to WITH_MILTER_BASE - rename WITH_SENDMAIL_STATIC_MILTER to WITH_MILTER_STATIC - cleanup ifdefs - fix build on batv-filter with libmilter from ports
6058705eb9
Jan Beich (jbeich) · 8.15.2_11
devel/icu: update to 62.1

Changes:	http://site.icu-project.org/download/62
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		229359
Exp-run by:	antoine (only 10.4)
3beb732dad
Dirk Meyer (dinoex) · 8.15.2_10
- drop PKGNAMESUFFIX on FreeBSD-12
584662f813
Jan Beich (jbeich) · 8.15.2_10
devel/icu: update to 61.1

Changes:	http://site.icu-project.org/download/61
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		227042
Exp-run by:	antoine
MFH:		2018Q2 (required by Firefox 61)
ae60358af5
Dirk Meyer (dinoex) · 8.15.2_9
- use a better configuration example
8a5725a888
Bernard Spil (brnrd) · 8.15.2_9
mail/sendmail: Fix build with LibreSSL 2.7

- LibreSSL 2.7 implements OpenSSL 1.1 API

PR:		227171
Approved by:	dinoex (maintainer)
60d394744a
Dirk Meyer (dinoex) · 8.15.2_9
- fix "exited on signal 11" when dhparams file is missing. PR:		226431
1cbf69f22e
Dirk Meyer (dinoex) · 8.15.2_8
- fix build with openssl 1.1 and libressl
927c505e3f
Brooks Davis (brooks) · 8.15.2_7
Work around the lack of definition of union semun per POSIX.

When feasible do this by adding -D_WANT_SEMUN to CFLAGS or CXXFLAGS.
Where this fails due to ports not honoring C*FLAGS, patch using
__FreeBSD_version to enable the definition.

PR:		224300, 224443 (exp-run)
Approved by:	portmgr (antoine)
Exp-run:	antoine
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14137
16a06ea402
Dirk Meyer (dinoex) · 8.15.2_7
- add depedency groff
9b25044c67
Dirk Meyer (dinoex) · 8.15.2_6
- disable option SMTPUTF8 as default it causes lost mail and backscatter with local delivery. PR:		224452 MFH:		2018Q1
38ae4ee888
Dirk Meyer (dinoex) · 8.15.2_5
- fix regression introduced by r457706 PR: 224452

- add option BLACKLISTD
https://reviews.freebsd.org/D13475
cc48fb988e
Mark Felder (feld) · 8.15.2_4
mail/sendmail: Add port option for SMTPUTF8 support, enabled by default.

Postfix has had support for quite some time, compiled in by default
http://www.postfix.org/SMTPUTF8_README.html

Exim has support but it's not a default build option
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-internationalisation.html

Sendmail had no support until Arnt produced this patch.

As far as commercial access to SMTPUTF8 email goes:

GMail has support for SMTPUTF8 for 3 years
Outlook.com will have support shortly

The world is moving forward with SMPTUTF8 and if it does not get wider
distribution it will restrict the ability to self-host email as the only
solution to send and receive email from these users will be to use a
commercial cloud-hosted email platform.

This patch is a no-op unless you are sending mail that requires the
SMTPUTF8 extension. If you are running a Sendmail server and you did not
have this patch you would have received errors and the messages would
have been undeliverable.

More info: http://rant.gulbrandsen.priv.no/eai/one-minute-guide

PR:		224452
Reviewed by:	Gregory Shapiro, Claus Assmann (private mails from Arnt)
Obtained from:	Arnt Gulbrandsen
Sponsored by:	CNNIC
b7664d180a
Dirk Meyer (dinoex) · 8.15.2_3
- new option BLACKLISTD for FreeBSD-11 Submitted by:	Kurt Lidl, Masachika ISHIZUKA Differential Revision:	https://reviews.freebsd.org/D6595
6921ca5f80
Antoine Brodin (antoine) · 8.15.2_3
Canonicalize a few LICENSE_PERMS

With hat:	portmgr
3d8373b24c
Dirk Meyer (dinoex) · 8.15.2_3
- add config file for option GDBM
20e9e83b3d
Dirk Meyer (dinoex) · 8.15.2_3
- new option GDBM Submitted by:	Zeus Panchenko
10ad355e7c
Dirk Meyer (dinoex) · 8.15.2_3
- make check-plist happier
6b6e7684d9
Sunpoet Po-Chuan Hsieh (sunpoet) · 8.15.2_3
Fix OPTIONS_DEFAULT: remove IPV6 which is added by framework

Approved by:	portmgr (blanket)
0173afb3c7
John Marino (marino) · 8.15.2_3
mail/sendmail: fix stage-qa error

The strip command for sbin/sendmail fails due to the permissions of
the program installed in the stage directory.  Change the staged sendmail
mode to 755 so that the strip command succeeds.  The pkg-list specifies
the final mode to be 2555.

PR:		211353
Reported by:	dave (ci.com.au)
Final fix:	marino@
Appproved by:	maintainer timeout
7126f3bc15
Dirk Meyer (dinoex) · 8.15.2_2
- unbreak regressions with bdb 1.8.5 - restore compatibility with base
1b269fd4fd
Mathieu Arnold (mat) · 8.15.2_1
USE_BDB cleanup.

- USE_BDB=4x+ -> USES=bdb.
- USE_BDB=yes -> USES=bdb.
- USE_BDB=xx  -> USES=bdb:xx.

Other modernisations when I see them.

PR:		209183
Sponsored by:	Absolight
f037e39601
Mathieu Arnold (mat) · 8.15.2_1
Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.

WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo

PR:		210149
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	The FreeBSD Foundation, Absolight
Differential Revision:	https://reviews.freebsd.org/D6577
5b55a8a53e
Mathieu Arnold (mat) · 8.15.2_1
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
8d6597e0bb
Dirk Meyer (dinoex) · 8.15.2_1
- use LIB_DEPENDS - remove option WITHOUT_MILTER
ea13cab589
Dirk Meyer (dinoex) · 8.15.2_1
- fix default SENDMAIL_MILTER_PORT
79219f5bb8
Dirk Meyer (dinoex) · 8.15.2_1
- split libmilter from sendmail into a seperate port - bump PORTREVISION Submitted by:	matthew (Matthew Seaman)
15ff0ca966
Dirk Meyer (dinoex) · 8.15.2
- remove option TLSEXT_PADDING, now default - make portlint happier
60709cdc9a
Jimmy Olgeni (olgeni) · 8.15.2
Remove trailing whitespace from Makefiles, M-X.
eb8748beda
Dirk Meyer (dinoex) · 8.15.2
- update to 8.15.2
cd8765428a
Baptiste Daroussin (bapt) · 8.15.1_2
Allow packaging as regular user

Add USES=uidfix to get the definition of GID
Overwrite via MAKE_ARGS the owner and groups enforced by upstream Makefile
Ownership remains unchanged in the final package given the ownership is now set
by plist
Change modes when installing to allow stripping in post-install as a regular
user
Replace INSTALL_SCRIPT by INSTALL_LIB which takes care of stripping the binaries
when installing
d5c48db6b2
Dirk Meyer (dinoex) · 8.15.1_2
- use USERS/GROUPS - removes obsolete @dirrm - support STRIP_CMD - stops rebuilding submit.cf PR:		200244 Submitted by:	John Marino
b048260f0a
Dirk Meyer (dinoex) · 8.15.1_1
- add support for eliptic curves
e32455970b
Dirk Meyer (dinoex) · 8.15.1
- add CPE PR:		199617 Submitted by:	shun
1e035b04c0
Baptiste Daroussin (bapt) · 8.15.1
Remove dead RINGSERVER
fdf29be1f6
John Marino (marino) · 8.15.1
mail category: Remove $PTHREAD_LIBS

Note: The following ports did not pass check-plist (CP) or stage-qa (QA)
tests.   The sendmail port has many problems, but this was already known
by myself as I fixed it properly on DPorts last week.  It's a forward
action to submit a PR against mail/sendmail.

  * antivirus-milter (CP)
  * dk-milter        (CP)
  * milter-regex     (CP)
  * sendmail         (CP, QA)

approved by:	PTHREAD blanket
90e3f72974