CVE and update status of the FreeBSD ports tree3,296 unaddressed CVEs in 671 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.12.3_1
- imported a set of bug fixes as suggested. - improved manpages a bit. - some MILTER improvements.

Submitted by:	gshapiro
c2a6bac90d
Dirk Meyer (dinoex) · 8.12.3
update target mailer.conf, to change the new entries too.
7ac4376078
Dirk Meyer (dinoex) · 8.12.3
Suppressed warning from shell.
02361d2f05
Dirk Meyer (dinoex) · 8.12.3
- Update to new release: sendmail-8.12.3 - Patches removed that are now in the distribution - More MILTER dokumentation - sm-client.sh.sample have now 'restart' command. - Add standalone startupscript for all sendmail deamons - Update pkg-message

This version fixes a long-standing MIME (7 to 8-bit) conversion bug
and several smaller problems, e.g., a possible communication problem
between the MTA and libmilter, a bug in handling (invalid) addresses
containing 8-bit characters, a possible problem with small timeouts
being lost on slow machines if itimers are used, and the handling of
the 421 reply code and timeouts in the SMTP delivery code.  There are
two changes in the msp feature that may change the behavior: MX lookups
are turned on for the SMTP mailers and hence `[localhost]' is used as
default instead of `localhost', and confTIME_ZONE is set to USE_TZ in
submit.mc.  A complete list of changes can be found in the release notes.
b26e4e183b
Dirk Meyer (dinoex) · 8.12.2_4
- Update noattach to 1.0beta11 - syncronize sample startup-scripts

PR:		36005
Submitted by:	oli@amun.isnic.is
cfecb977d8
Dirk Meyer (dinoex) · 8.12.2_4
- define PICKY_HELO_CHECK as default
9d72171169
Dirk Meyer (dinoex) · 8.12.2_3
BUMP portrevision Add patches:

----- MEDIUM -----
mikea@kconline.com:

	Sendmail 8.12.x has an implementation bug in the milter
	code that causes the milter daemons to fail when they
	are bombarded with 20-30 messages from a mail server.

	mail sendmail[82323]: g1N53lNY082323: Milter
	(milter-amavis): select(read): Interrupted system call

The patch available at the link above definitely fixes the Milter timeout
problem.  Before applying the patch, I would see this every 5 to 15 minutes
in our logs.
here hasn't been another one since I applied the patch 5 hours ago.

----- LOW -----
dionex@freebsd.org:

	Fix SafeFileEnv, it won't work if configured up with a trailing '/'

-----

PR:		35363
Submitted by:	mikea@kconline.com,dinoex
5f11dc60c5
Dirk Meyer (dinoex) · 8.12.2_2
- Build milter with -D_THREAD_SAFE - Use PTHREAD_LIBS, so build under CURRENT should use -lc_r

Submitted by:	gshapiro
9329fd34a9
Dirk Meyer (dinoex) · 8.12.2_1
Bump PORTREVISION for latest libmilter changes
60cc39498d
Dirk Meyer (dinoex) · 8.12.2
Mikhail Teterin: A  little  milter application  I  installed  (spamassassin related)  was hanging every once in  a while. I'm not sure if this  patch will fix it, but it sure seems like the right step to take. Without it, the libmilter sources are  compiled without the  -pthread, even though the  library is linked with -pthread (rather needlessly, since it is a static lib only).

Submitted by:	mi
1872f119c5
Dirk Meyer (dinoex) · 8.12.2
- Change SENDMAIL_WIT_MILTER to SENDMAIL_WITHOUT_MILTER   MILTER is build by default in any case now,   previosly only when defined in "BATCH".

- Add CFLAGS awareness to build, Submitted by: mi

P:
788746e7ca
Dirk Meyer (dinoex) · 8.12.2
- Add html-docs when made with SENDMAIL_WITH_MILTER=yes
75ac461139
Akinori MUSHA (knu) · 8.12.2
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command.
897d06aa97
Dirk Meyer (dinoex) · 8.12.2
- Add conf_libsm_LIBS for option SENDMAIL_WITH_LDAP the base lib needs now ldap_err2string too.
11ea5682e9
Dirk Meyer (dinoex) · 8.12.2
- Update to sendmail-8.12.2
56cf43809d
Dirk Meyer (dinoex) · 8.12.1
- make portlint happier - use DOCSDIR or EXAMPLESDIR - get rid of some INTERACTIVE scrips in news/ifmail
2025ba84ee
Dirk Meyer (dinoex) · 8.12.1
- Fix a missing $ condition in the default Received:-header

Submitted by:	freebsd@BuggerIT.com.au (Taras M. Dowhaluk)
f84ba5a386
Dirk Meyer (dinoex) · 8.12.1
fix spelling
20195c03a2
Dirk Meyer (dinoex) · 8.12.1
improved pkg-message Thanks to Stephane.Lentz@ansf.alcatel.fr
608ce54ae3
Dirk Meyer (dinoex) · 8.12.1
- use ${INSTALL_SCRIPT} for samples in ${PREFIX}/etc/rc.d/
4ba91b59c4
Dirk Meyer (dinoex) · 8.12.1
Install the Operarion Manual as share/doc/sendmail/op.ps
19002eec46
Dirk Meyer (dinoex) · 8.12.1
Add more includes and libs to Option MILTER +include/libmilter/mfdef.h +lib/libsm.a +lib/libsmdb.a
c1dd86b94f
Dirk Meyer (dinoex) · 8.12.1
group smmsp was reconverted to  wheeel after pkg_add, fixed.
9facb69137
Dirk Meyer (dinoex) · 8.12.1
Remove user only if uid matches, so a user in the bas system won't be deleted. Remove double deletion of docdir.
d8ec51ebaa
Dirk Meyer (dinoex) · 8.12.1
- Option MILTER fixed. - Allow to build without milter-support
24f64fc37d
Dirk Meyer (dinoex) · 8.12.1
- Add senndmail-old as module - reserve UID 90 for sendmail client queue
fd751f1110
Dirk Meyer (dinoex) · 8.12.1
- Update to sendmail 8.12.1  This ports will creates a new user and group named smmsp.  Setting up the serer and client queues.  You need to create an "sumbit.cf" for local submission.
9c724bfe99
Dirk Meyer (dinoex) · 8.11.6_1
remove empty dir: share/doc/sendmail
3477ac9a45
Dirk Meyer (dinoex) · 8.11.6_1
- Add a patch for some nameserver problems sendmail 8.11.6, failing DNS AAAA lookups

Has been mentioned on freebsd-stable
Subject: something strange with sendmail 8.11.6 on FreeBSD

Submitted by:	gshapiro@freebsd.org
240b393ed3
Dirk Meyer (dinoex) · 8.11.6
Urgent Update to 8.11.6:

Sendmail, Inc., and the Sendmail Consortium announce the availability
of sendmail 8.11.6 and 8.12.0.Beta19.

These new versions fix a security problem reported by SecurityFocus
regarding command line processing.  This vulnerability is present in
sendmail open source versions between 8.10.0 and 8.11.5 as well as all
8.12.0.Beta versions.  Therefore, sendmail 8.12.0.Beta users should upgrade
to 8.12.0.Beta19.

The problem was not present in 8.10 or earlier versions.  However, as
always, we recommend using the latest version.  Note that this problem is
not remotely exploitable.
af01a1bc5f
Dirk Meyer (dinoex) · 8.11.5
- Removed FreeBSD Tag from manpage
94ce6cf63d
Dirk Meyer (dinoex) · 8.11.5
- clean patches from unnessary tags

Submitted by:	gshapiro@freebsd.org (Gregory Neil Shapiro)
00824b0241
Dirk Meyer (dinoex) · 8.11.5
- Update to 8.11.5

Fix a possible race condition when sending a HUP signal to restart
                the daemon.  This could terminate the current process without
                starting a new daemon.  Problem reported by Wolfgang Breyha
                of SE Netway Communications.
        Only apply MaxHeadersLength when receiving a message via SMTP or
                the command line.  Problem noted by Andrey J. Melnikoff.
        When finding the system's local hostname on an IPv6-enabled system
                which doesn't have any IPv6 interface addresses, fall back
                to looking up only IPv4 addresses.  Problem noted by Tim
                Bosserman of EarthLink.
        When commands were being rejected due to check_relay or TCP
                Wrappers, the ETRN command was not giving a response.
        Incoming IPv4 connections on a Family=inet6 daemon (using
                IPv4-mapped addresses) were incorrectly labeled as "may be
                forged".  Problem noted by Per Steinar Iversen of Oslo
                University College.
        Shutdown address test mode cleanly on SIGTERM.  Problem noted by
                Greg King of the OAO Corporation.
        Restore the original real uid (changed in main() to prevent
                out of band signals) before invoking a delivery agent.
                Some delivery agents use this for the "From " envelope
                "header".  Problem noted by Leslie Carroll of the
                University at Albany.
        Mark closed file descriptors properly to avoid reuse. Problem
                noted by Jeff Bronson of J.D. Bronson, Inc.
        Setting Timeout options on the command line will also override
                their sub-suboptions in the .cf file, e.g., -O
                Timeout.queuereturn=2d will set all queuereturn timeouts
                to 2 days.  Problem noted by Roger B.A. Klorese.
        CONFIG: Fix parsing for IPv6 domain literals in addresses
                (user@[IPv6:address]).  Problem noted by Liyuan Zhou.
4fa663ae20
Dirk Meyer (dinoex) · 8.11.4_2
- generate comment in sendmail.cf with standard date - apply an extension to the vacation manpage
85b38a1001
Dirk Meyer (dinoex) · 8.11.4_1
change MAINTAINER to FreeBSD.org address
385c248462
Dirk Meyer (dinoex) · 8.11.4_1
Sendmail: - Save more documentation in %%PREFIX%%/share/doc/sendmail - Update Sendmail package, only libmilter will be installed. - Bump PORTREVISION - Cleanup configuration, reduced overhead in "site.config.m4" files - New option SENDMAIL_WITHOUT_IPV6=yes - Use global WITH_TLS as well as SENDMAIL_WITH_TLS - New slave ports: sendmail-sasl, sendmail-ldap - vbsfilter now build a package
d7eb63a9e1
Dirk Meyer (dinoex) · 8.11.4
- Make full featured package, ordered PKGNAMESUFFIX
6ff3f45ac6
Dirk Meyer (dinoex) · 8.11.4
- Store documentation in ${PREFIX}/share/doc/sendmail:   KNOWNBUGS LICENSE PGPKEYS README RELEASE_NOTES MILTER
46a0dc2f7b
FUJISHIMA Satsuki (sf) · 8.11.4
add Japanese mirror to MASTER_SITES.
418424d95d
Dirk Meyer (dinoex) · 8.11.4
- Update to Sendmail 8.11.4, possible race condition. - Added PKGNAMESUFFIX - removed patch for IPV6, fixed in Release
0b3686cdb7
Dirk Meyer (dinoex) · 8.11.3
- Changed dependency of cyrus-sasl to lib-depends,   user package will register this now.
77c5bc1b6f
Dirk Meyer (dinoex) · 8.11.3
- Change Order of Options,hope its better readable now. - LDAP Support shall work in old and new versions now.
644a4ebe1d
Dirk Meyer (dinoex) · 8.11.3
New patch: The socket was IPv6, but the bind used an IPv4 sockaddr struct.

Submitted by:	Sean Farley <sean-freebsd@farley.org>
dacabbc8d5
Dirk Meyer (dinoex) · 8.11.3
- Option to add LDAP Support - Cleanup dublicate labels - Allow to build a package manually.

Submitted by:	phantom@ark.cris.net (Alexey Zelkin)
3e48e0246d
Dirk Meyer (dinoex) · 8.11.3
extra Whitespaces removed
21dfb27757
Dirk Meyer (dinoex) · 8.11.3
Fixed package list for option milter, port still marked "NO_PACKAGE", so no PORTREVISION needed.
de3cf9242c
Dirk Meyer (dinoex) · 8.11.3
- Listed an overview of options - Added support for optional configuraion in files/site.config.m4.local
ff1aa7cfc6
Dirk Meyer (dinoex) · 8.11.3
sendmail -- TLS/SASL/SFIO enhancement: This is a diff to the current port that implements SFIO and SASL options support in addition to TLS.  It makes the sendmail port conform more closely to the available documentation for such security enhancements.

ken@nova.org
- renamed option from SENDMAIL_WITH_TSL to SENDMAIL_WITH_TLS
- new option SENDMAIL_WITH_SFIO
- fixed bug in site.config.m4.sasl

PR:		25661
Submitted by:	ken@nova.org
ec702c06b2
Dirk Meyer (dinoex) · 8.11.3
- Update to new release 8.11.3 - filters has been removed, will reappear in a seperate port - install additional headers and libs for SENDMAIL_WITH_MILTER=yes - pkh-commed reduced to make portlint happy

Reviewed by:	gshapiro
be24244bf1
Dirk Meyer (dinoex) · 8.11.2
SENDMAIL_WITH_MILTER support sample filter is build. GPL attachmentfilter ist build.
75a197a7a1