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

mail/postfix 3.11.7_4,1

Secure alternative to widely-used Sendmail

Port info

Maintainer
otis@FreeBSD.org
Packages
latest: postfix 3.11.7_4,1, postfix-ldap 3.11.7_4,1, postfix-mongo 3.11.7_4,1, postfix-mysql 3.11.7_4,1, postfix-pgsql 3.11.7_4,1, postfix-sasl 3.11.7_4,1, postfix-sqlite 3.11.7_4,1
Upstream
up to date
Last update
to 3.11.7_4,1 · 85ba298b7e
Quarterly
2026Q4: postfix 3.11.7_3,1, postfix-ldap 3.11.7_3,1, postfix-mongo 3.11.7_3,1, postfix-mysql 3.11.7_3,1, postfix-pgsql 3.11.7_3,1, postfix-sasl 3.11.7_3,1, postfix-sqlite 3.11.7_3,1 · last MFH 8168af0c2e
Formerly
mail/postfix-ldap-sasl until 2021-10-28, mail/postfix-sasl until 2021-10-28
WWW
https://www.postfix.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install postfix
# pkg install postfix-ldap
# pkg install postfix-mongo
# pkg install postfix-mysql
# pkg install postfix-pgsql
# pkg install postfix-sasl
# pkg install postfix-sqlite
installs postfix 3.11.7_4,1, postfix-ldap 3.11.7_4,1, postfix-mongo 3.11.7_4,1, postfix-mysql 3.11.7_4,1, postfix-pgsql 3.11.7_4,1, postfix-sasl 3.11.7_4,1, postfix-sqlite 3.11.7_4,1 from latest; from quarterly (2026Q4) postfix 3.11.7_3,1, postfix-ldap 3.11.7_3,1, postfix-mongo 3.11.7_3,1, postfix-mysql 3.11.7_3,1, postfix-pgsql 3.11.7_3,1, postfix-sasl 3.11.7_3,1, postfix-sqlite 3.11.7_3,1
Port
# cd /usr/ports/mail/postfix && make install clean
# make -C /usr/ports/mail/postfix config  # change options first
Size
1.8 MiB download · 8.4 MiB installed
Depends on
databases/lmdb0 0.9.36_1, databases/tinycdb 0.81, devel/icu 76.1,1, devel/pcre2 10.49, mail/libtlsrpt 0.5.1
License
EPL and IPL10
Creates
user postfix, group mail, maildrop, postfix
Options
9 of 22 on in the package: BLOCKLISTD CDB DOCS EAI LMDB LMDB0 PCRE2 TLS TLSRPT
Show the 13 options that are off
BDB INST_BASE LDAP LMDB1 MONGO MYSQL NIS PGSQL SASL SASLKMIT SASLKRB5 SQLITE TEST
pkg-message
Shown after installing
To use postfix instead of sendmail:
  - clear sendmail queue and stop the sendmail daemons

Run the following commands to enable postfix during startup:
  - sysrc postfix_enable="YES"
  - sysrc sendmail_enable="NONE"

If postfix is *not* already activated in /usr/local/etc/mail/mailer.conf
  - mv /usr/local/etc/mail/mailer.conf /usr/local/etc/mail/mailer.conf.old
  - install -d /usr/local/etc/mail
  - install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf

Disable sendmail(8) specific tasks,
add the following lines to /etc/periodic.conf(.local):
  daily_clean_hoststat_enable="NO"
  daily_status_mail_rejects_enable="NO"
  daily_status_include_submit_mailq="NO"
  daily_submit_queuerun="NO"

If you are using SASL, you need to make sure that postfix has access to read
the sasldb file.  This is accomplished by adding postfix to group mail and
making the /usr/local/etc/sasldb* file(s) readable by group mail (this should
be the default for new installs).
Shown after removing
If you remove postfix permanent, adjust / remove the the following file:
  - /usr/local/etc/mail/mailer.conf
Note
Size, dependencies, options and messages are those of postfix.

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.11.7_4,13.11.7_3,1–
FreeBSD 153.11.7_4,13.11.7_3,1–
FreeBSD 143.11.7_4,13.11.7_3,13.11.7_4,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.11.7_3,13.11.7_3,1–
FreeBSD 143.11.7_3,13.11.7_1,13.11.7_3,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 3.11.7_4,1.

Fixed (2)

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

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

PRSummaryStatusChanged
299271maintainer-feedback? mail/postfix: lmdb version issue fixed in main but not 2026Q4New2026-10-14

Commits (447)

Pav Lucistnik (pav) · 2.2.4_1,1
- Fix build on FreeBSD 7

PR:		ports/83414
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
9d92d0346d
Jean-Yves Lefort (jylefort) · 2.2.4_1,1
- Fix manpage links [1] [2] - Update the VDA patch to 2.2.4 [2]

[1]
PR:		ports/82768
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by:	maintainer

[2]:
PR:		ports/83032
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer
592f1111ae
Florent Thoumie (flz) · 2.2.4,1
- Update to 2.2.4.

PR:		ports/82546
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer
6f46e1fb54
Simon Barner (barner) · 2.2.3_1,1
- Add instructions for /etc/rc.conf that make   `/etc/rc.d/sendmail stop' stop the postfix mail system. [1]

- Re-phrased a paragraph to be more clear. [2]

Submitted by:	shige [1], maintainer [2]
Approved by:	maintainer [1]
PR:		ports/81245 [1]
8c0c6a8bfd
Jean-Yves Lefort (jylefort) · 2.2.3_1,1
Update the VDA patch to 2.2.3

PR:		ports/80859
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer
d87b215f4b
Jean-Yves Lefort (jylefort) · 2.2.3,1
Update to 2.2.3

PR:		ports/80552
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer
8af366c0b3
Pav Lucistnik (pav) · 2.2.2,1
- Update postfix to 2.2.2 - Update VDA patch to 2.2.2 - Fix mailer.conf activation *)

PR:		ports/79207
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)

		*)
PR:		ports/79447
Submitted by:	bz
Patch by:	Christian Kratzer <ck at cksoft dot de>
13f0c0b491
Pav Lucistnik (pav) · 2.2.1,1
- Update to 2.2.1

PR:		ports/78852
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
7ac33a6af8
Pav Lucistnik (pav) · 2.1.5_1,1
- Update VDA patch to 2.1.5

PR:		ports/76299
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
4f69fd88dc
Yen-Ming Lee (leeym) · 2.1.5_1,1
postfix's optional postgres support doesn't work with the new Postgres port configuration. this patch fixes that

PR:		77216
Submitted by:	Vivek Khera <vivek at khera.org>
0bf9ab1b91
Edwin Groothuis (edwin) · 2.1.5_1,1
[PATCH] mail/postfix: Update to libspf2-2.1.5-5

update the SPF patch to latest release which fixes bug
	exposed by gcc in FreeBSD 5.3.  it is otherwise identical
	to prior version, so no upgrade is necessary if you have
	it compiled and workign in FreeBSD 4.10 already (thus no
	version bump).

	removed "extra libspf2" patch that tried to work around
	failure of IPv6+TLS patch when used in conjunction with SPF
	patch.  It just doesn't work, and I can't figure out exactly
	what it is supposed to do.  As it was, this would cause
	failures when selecting just the SPF patch.

PR:		ports/74095
Submitted by:	Vivek Khera <vivek@khera.org>
81f580eaca
Pav Lucistnik (pav) · 2.1.5,1
- Support SPF and TLS at the same time

PR:		ports/72774
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer timeout (2 weeks)
519b947dd8
Pav Lucistnik (pav) · 2.1.5,1
- Fix build with SASLKRB5 option

PR:		ports/73100
Submitted by:	Matthew X. Economou <xenophon+freebsd@irtnog.org>
Approved by:	maintainer
67148f52a7
Edwin Groothuis (edwin) · 2.1.5,1
update mail/postfix to latest

update postfix to 2.1.5
	update IPv6 patches to latest corresponding versions

PR:		ports/72009
Submitted by:	Vivek Khera <vivek@khera.org>
f4b7544fdd
Dag-Erling Smørgrav (des) · 2.1.4,1
Make sure this patch applies correctly when PATCH_STRIP=-p1, as is the case when TLS is enabled.

Approved by:	portmgr (krion)
80441fd488
Dag-Erling Smørgrav (des) · 2.1.4,1
Fix build on 6.0.

Approved by:	maintainer
8eccf35301
Pav Lucistnik (pav) · 2.1.4,1
- Add VDA (Virtual Delivery Agent) patch

PR:		ports/70637
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer
0fe0830849
Mathieu Arnold (mat) · 2.1.4,1
Add a patch to optionnaly add libspf2

PR:		70595
Submitted by:	maintainer
9ca785ab6d
Pav Lucistnik (pav) · 2.1.4,1
- Update to 2.1.4

PR:		ports/68949
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
e28d8ba3be
Pav Lucistnik (pav) · 2.1.3,1
- Update IPv6 patches to 2.1.3

PR:		ports/68273
Submitted by:	Olafur Osvaldsson <oli@aker.isnic.is>
Approved by:	maintainer
32044eb2ca
Pav Lucistnik (pav) · 2.1.3,1
- Update to 2.1.3

Note for users of IPv6 patches: don't upgrade, patches were not updated for 2.1.3
yet and don't work at the moment.

PR:		ports/68171
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
27b5ab6c87
Pav Lucistnik (pav) · 2.1.1,1
- Wordsmithing in comment

PR:		ports/67782
Submitted by:	Chris Pepper <pepper@reppep.com>
8844544c3c
Pav Lucistnik (pav) · 2.1.1,1
- Update IPv6 patches to 1.24

PR:		ports/67003
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
1f38f53733
Edwin Groothuis (edwin) · 2.1.1,1
update mail/postfix to latest release

update postfix to 2.1.1 release

PR:		ports/66569
Submitted by:	Vivek Khera <vivek@khera.org>
c9f13daed8
Pav Lucistnik (pav) · 2.1.0,1
- Update to 2.1.0

PR:		ports/66215
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
32b59b18f6
Pav Lucistnik (pav) · 2.0.20,1
- Update to 2.0.20

PR:		ports/66056
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
364ad0f0fb
Dag-Erling Smørgrav (des) · 2.0.19,1
Use /usr/sbin/nologin instead of /sbin/nologin if it exists and is executable. Use fixed UIDs (125) and GIDs (125, 126).

Approved by:	maintainer
26d0fd7623
Pav Lucistnik (pav) · 2.0.19,1
- Kill trailing whitespace

PR:		ports/65053
Submitted by:	Xin LI <delphij@frontfree.net>
1b5f385894
Pav Lucistnik (pav) · 2.0.19,1
- Add support for db42

PR:		ports/64801
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by:	maintainer
56437cf481
Clement Laforet (clement) · 2.0.19,1
- Update 2.0.19 - SIZEify - Update maintainer address

PR:             64590
Submitted by:   Vivek Khera <vivek@khera.org> (maintainer)
c750839baa
Alex Dupre (ale) · 2.0.18,1
s/USE_OPENLDAP_VER/WANT_OPENLDAP_VER/g in comments.

Noticed by:	eik
c562c46c74
Alex Dupre (ale) · 2.0.18,1
Use USE_MYSQL and USE_OPENLDAP.

PR:		ports/63814
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
719305a702
Sergey A. Osokin (osa) · 2.0.18,1
Fix build with LDAP.

Submitted by:	Jean-Baptiste Quenot <jb.quenot@caraldi.com>
Approved by:	Vivek Khera <khera@kcilink.com> (maintainer)
PR:		62690
99b6ee13be
Oliver Eikemeier (eik) · 2.0.18,1
Update to latest released version.  Update TLS/IPv6 patches to match.

PR:		62121
Submitted by:	Vivek Khera <vivek@khera.org> (maintainer)
920cefb5d8
Sergey A. Osokin (osa) · 2.0.16,1
Respect ${CC} flag.

Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
3df17fbf39
Pete Fritchman (petef) · 2.0.16,1
Add the rc.conf pid-file specification line for startup.

PR:		57074
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
Approved by:	maintainer
5fd437752f
Dirk Meyer (dinoex) · 2.0.16,1
- add CONFLICTS Submitted by:   eikemeier@fillmore-labs.com Approved by:    kris
23a445abcc
Sergey A. Osokin (osa) · 2.0.16,1
Update to 2.0.16

PR:			ports/57083 (partially)
PR submitted by:	osa
Approved/Reviewed by:	Vivek Khera <khera@kciLink.com> (maintainer)
05ea4ef217
Sergey A. Osokin (osa) · 2.0.15,1
Update postfix to latest release (mainly a Solaris bug workaround).

Submitted by:	Vivek Khera <khera@kcilink.com> (maintainer)
PR:		56631
2420db2c2c
Sergey A. Osokin (osa) · 2.0.14,1
Update to 2.0.14 [1] Use %%DOCSDIR%% in pkg-plist [2]

Submitted by:	Vivek Khera <vivek@khera.org> [1],
		Linh Pham <question@closedsrc.org> [1],
		osa [2]
Approved by:	Vivek Khera <vivek@khera.org> (maintainer)
PRs:		55759, 56016
8adda270e9
Jun Kuriyama (kuriyama) · 2.0.13,1
Fix plist at optional IPv6 configuration.

PR:		ports/55301
Submitted by:	Kimura Fuyuki <fuyuki@nigredo.org>
76f34ce632
Jun Kuriyama (kuriyama) · 2.0.13,1
Fix non-default dependency on openldap2[012] which is broken by splitting.

# I'm not bumped port revision of them because this should not affect
# packages built on bento...
b67a28791a
Erwin Lansing (erwin) · 2.0.13,1
One of the patch files for postfix was not PREFIX-clean.  This makes it PREFIX-clean

PR:		54768
Submitted by:	maintainer
356d8f1b3d
Erwin Lansing (erwin) · 2.0.13,1
Included in this email is a patch to postfix which I need applied for my upcoming commit to sysinstall(8).

PR:		54291
Submitted by:	trhodes via maintainer
9d2df035ea
Sergey A. Osokin (osa) · 2.0.13,1
Fix building with SASL2 case.

Submitted by:	Charles Swiger <chuck@pkix.net>
Patch from:	Vivek Khera <khera@kcilink.com> (maintainer)
PR:		54136
Approved by:	fjoe (mentor) (implicit)
38abf86853
Daichi GOTO (daichi) · 2.0.13,1
update mail/postfix: 2.0.12 --> 2.0.13

PR:		53984
Submitted by:	Vivek Khera <khera@kcilink.com> (maintainer)
78bcee5b64
Oliver Braun (obraun) · 2.0.12,1
Upgrade to 2.0.12.

PR:		ports/53846
Submitted by:	maintainer
c552baff61
Christian Weisgerber (naddy) · 2.0.10,1
- Update postfix to 2.0.10 release - Add option for using Postgres 7.2 in addition to 7.3

PR:		52620
Submitted by:	Vivek Khera <khera@kcilink.com>
00674940cd
Oliver Braun (obraun) · 2.0.9,1
* Upgrade to 2.0.9. * Re-enable IPv6 without TLS as an option.

PR:		ports/52133
Submitted by:	maintainer
b80d569272
Yen-Ming Lee (leeym) · 2.0.7,1
update postfix to 2.0.7

1. SSL linking fix
2. specific openldap depedency (ports/48621)
3. Kerberos linking fix

PR:		50964
Submitted by:	Vivek Khera <khera@kcilink.com>
Obtained from:	1. dirk.meyer@dinoex.sub.org
		2. Christian Kratzer <ck@cksoft.de>
		3. Miles Egan <miles@caddr.com>
1363a0b670