CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 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

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)

Baptiste Daroussin (bapt) · 3.11.7_4,1
databases/lmdb: allow to install both 0.x and 1.x together

LMDB 1.0 and the legacy 0.9 ABI cannot be mixed, the datanase format are
incompatibles as well.

Rename or relocate everything databases/lmdb0 installs so that it no
longer overlaps with databases/lmdb:
- the utilities are now mdb_copy0, mdb_dump0, mdb_load0 and mdb_stat0
- the header is include/lmdb0/lmdb.h
- the linker name is liblmdb0.so, the shared object keeps its ABI name
  liblmdb.so.0 so already linked programs are unaffected
- the pkg-config file is lmdb0.pc

A compatibility prefix holding the previous layout is also installed
under ${PREFIX}/lmdb0/ (include/, lib/ and libdata/pkgconfig/) so that
build systems which expect to find lmdb.h and -llmdb relative to a
single directory only need a path change.

Now all ports should migrate to lmdb 1.X and use the lmdb 0.9 port to ease
in the migration path, lmdb, the lmdb 0.x is supposed to get removed at
some point.

Approved by:	mat (portmgr)
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D60741
85ba298b7e
Juraj Lutter (otis) · 3.11.7_3,1 MFH 2026Q4 ✓
mail/postfix: Fix lmdb dependency

- Do not depend on lmdb even when LMDB is turned off [1]

PR:		299276
696289b3e6
Juraj Lutter (otis) · 3.11.7_2,1 MFH 2026Q4 ✓
mail/postfix: Depend on databases/lmdb0 by default again

Depend on databases/lmdb0 by default and allow to select also
databases/lmdb.
92e125ad0d
Juraj Lutter (otis) · 3.11.7_1,1
mail/postfix: Depend on databases/lmdb

As the breaking change introduced in lmdb 1.0.0 has been reverted
since lmdb 1.0.1, change the dependency back to databases/lmdb

And while here, also replace the hardwired include and library
paths and named with pkgconfig.
b4ccc524e3
Juraj Lutter (otis) · 3.11.7,1
mail/postfix: Update to 3.11.7

PR:		298429
fd2e3a26b8
Juraj Lutter (otis) · 3.11.6,1 MFH 2026Q3 ✓
mail/postfix: Fix mongo flavor with INST_BASE

Fixes:		c01b34960fd
4981169660
Juraj Lutter (otis) · 3.11.6,1 MFH 2026Q3 ✓
mail/postfix: Update to 3.11.6

- Update to 3.11.6
- Fix MONGO flavor
- Properly pass CFLAGS and LDFLAGS for mongo-c-driver, based on [1]

PR:		297519
c01b34960f
Yusuf Yaman (nxjoseph) · 3.11.5_1,1
mail/postfix: chase devel/mongo-c-driver update

PR:             296614
Reported by:    Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Approved by:    Juraj Lutter <otis@FreeBSD.org> (maintainer timeout, 3+ weeks)
Approved by:    osa, vvd (Mentors, implicit)
0115f8e320
Juraj Lutter (otis) · 3.11.5,1
mail/postfix: Update to 3.11.5
80c2db14ec
Xin LI (delphij) · 3.11.4_1,1
databases/lmdb0: Add port for LMDB 0.9.x legacy ABI

LMDB 1.0 introduced an incompatible on-disk format change and subtle
API breakage: applications that compiled cleanly against 1.0 headers
could fail silently at run time. Known affected ports include dns/knot3,
mail/bogofilter, and mail/postfix; the postfix issue has been confirmed
upstream. Linux distributions such as Arch Linux have observed the same
breakage. Samba can also be affected in certain configurations.

Because the regression is not detectable in an -exp build run -- the
postfix failure only manifests at run time, and bogofilter was caught
only because post-build self-tests happen to exercise this path -- we
cannot rely on package builds to validate the 1.0 upgrade.

This commit introduces databases/lmdb0 as a holding port for the 0.9.35
release, pinned to the 0.x branch with PORTSCOUT=limit:^0. and mutually
conflicting with databases/lmdb, which retains 1.0. The two packages
cannot be installed simultaneously, but having lmdb0 available means:

* Ports known to require the 0.9 ABI can declare an explicit dependency
  on databases/lmdb0 until they are validated against 1.0.
* Users with existing databases in the 0.9 format can still access the
  mdb_dump and mdb_load utilities to migrate data before upgrading.
* The package conflict prevents accidental mixing.

All 50 direct dependents of databases/lmdb are redirected to
databases/lmdb0 for now with a PORTREVISION bump, effectively restoring
the tree to the state prior to the LMDB 1.0 update. Once all dependent
ports are validated against LMDB 1.0, they will be moved back to
databases/lmdb and databases/lmdb0 will be removed.

PR:             ports/296530
5f9d389f29
Juraj Lutter (otis) · 3.11.4,1
mail/postfix: Update to 3.11.4

PR:		296333
Reported by:	Sulev-Madis Silber <bugs-freebsd-org916@ketas.si.pri.ee>
d81ec54949
Juraj Lutter (otis) · 3.11.3,1
mail/postfix: Update to 3.11.3
545c41b799
Juraj Lutter (otis) · 3.11.2,1
mail/postfix: Update to 3.11.2

- Update to 3.11.2
- Also address [1]

PR:		294462 [1]
Reported by:	des, dim, postfix release notification e-mail
4b266f63a7
Juraj Lutter (otis) · 3.11.1_2,1
mail/postfix: Use BLOCKLIST instead of BLACKLIST

- Starting from FreeBSD version 1500000, prefer the new blocklist
  nomenclature.
- Enable TLSRPT by default

PR:		294083
11d6404d9c
Juraj Lutter (otis) · 3.11.1_1,1
mail/postfix: Enable CDB and LMDB by default

Adding these solves a cross-compatibility problem with Linux distros
that have dropped bdb support.  Per Postfix's document[1] on it, lmdb
and cdb are the replacements for hash and btree, respectively.

[1] http://www.postfix.org/NON_BERKELEYDB_README.html

PR:		293852
04535dc7ca
Juraj Lutter (otis) · 3.11.1,1
mail/postfix: Update to 3.11.1

This update brings some possibly breaking changes:

- Postfix 3.11.0:

  - TLS
    - smtp_tls_security_level now defaults to "may" when Postfix is built with
      TLS support and compatibility_level >= 3.11
    - RFC 8689 REQUIRETLS support added: requires strong authentication
      (DANE/STS) from all servers in the forward path that announce REQUIRETLS
    - TLS logging now includes desired vs. actual security level enforcement
      status and REQUIRETLS policy enforcement details
    - New smtp_tls_enforce_sts_mx_patterns parameter (default: yes) ensures
      MX hostname matching for MTA-STS
    - OpenSSL 3.5+ changes the tls_eecdh_auto_curves default to avoid
      protocol ossification (post-quantum cryptography prep)

  - Other
    - milter_default_action default changed from "tempfail" to "shutdown"
    - JSON output support added to postconf, postalias, postmap, postmulti
    - Deprecation warnings now logged for obsolete parameters (DEPRECATION_README)

- Postfix 3.11.1 (bug fixes only):

  - Fix alias_maps error when default_database_type is not set in main.cf
  - Fix buffer over-read when enhanced status codes lack trailing text
    (e.g. "5.7.2" with no subsequent text) in access tables, header/body
    checks, rbl_reply_maps, and default_rbl_reply; present since 3.0
  - Fix null pointer dereference in nbdb_reindexd(8) due to service_name
    not being propagated (regression since 3.3)
  - Fix spurious startup error from nbdb_reindexd(8) when
    non_bdb_migration_level disables automatic re-indexing
204f268508
Juraj Lutter (otis) · 3.10.6,1
mail/postfix: Fix build on 15.0 with SASLKRB5

Kerberos in 15.0 does not provide the old libraries.

PR:		291605
Reported by:	Christian Hennig <zeha@ccsej.de>
e79fe442bd
Juraj Lutter (otis) · 3.10.6,1
mail/postfix: Update to 3.10.6
c24c6d7bbc
Juraj Lutter (otis) · 3.10.5,1
mail/postfix: Update to 3.10.5
2637b2260b
Yasuhiro Kimura (yasu) · 3.10.4,1
mail/postfix: Fix build with FreeBSD 16

Approved by:	portmgr (implicit, just fix it)
2c0331732a
Juraj Lutter (otis) · 3.10.4,1
mail/postfix: Update to 3.10.4

And also address a small nit from [1]

PR:		288660 [1]
74da828d5a
Juraj Lutter (otis) · 3.10.3,1
mail/postfix: Update to 3.10.3

And while here, also address some blacklistd-related improvements,
namely in postscreen and relay check.

PR:		287463
Co-authored-by:	bc979@lafn.org
02fd9938a7
Juraj Lutter (otis) · 3.10.2_1,1
mail/postfix: Add TLSRPT support

Add option to enable TLSRPT functionality.

PR:		287297
eac69363a7
Juraj Lutter (otis) · 3.10.2,1
mail/postfix: Update to 3.10.2

PR:		286294
e7583dfb9f
Juraj Lutter (otis) · 3.10.1,1
mail/postfix: Update to 3.10.1

Reported by:	Herbert J. Skuhra <herbert@gojira.at>
5e61c995e6
Juraj Lutter (otis) · 3.10.0_1,1
mail/postfix: Make postscreen blacklistd aware

PR:		284444
fb25a7b492
Juraj Lutter (otis) · 3.10.0,1
mail/postfix: Fix pkg-install script, take 2

Quick fix for pkg-install script where a mismerge from PR happened.
b2d39efa84
Juraj Lutter (otis) · 3.10.0,1
mail/postfix: Update to 3.10.0

- Update to 3.10.0
- Fix some typos
- Incorporate changes from [1], namely:
  - Simplify some Makefile constructs
  - Fix post-install script
  - Fix plist

PR:	280019
c0d942b613
Daniel Engberg (diizzy) · 3.9.1_1,1
*/*: Bump consumers of devel/icu

...to avoid library mismatches
ff33dd4700
Juraj Lutter (otis) · 3.9.1,1
mail/postfix: Update to 3.9.1

Reported by:	portscout
51132e1a3b
Juraj Lutter (otis) · 3.9.0_1,1
mail/postfix: Make the rc script service jails ready
2504840691
Juraj Lutter (otis) · 3.9.0,1
mail/postfix: Update to 3.9.0

- Update to 3.9.0
- Add MongoDB maps support
- regen patches.

Release notes:
https://postfix-mirror.horus-it.com/postfix-release/official/postfix-3.9.0.RELEASE_NOTES
05e8277887
Juraj Lutter (otis) · 3.8.5,1
mail/postfix: Fix manpages location with INST_BASE

PR:		276844
dc7045ba97
Juraj Lutter (otis) · 3.8.5,1
mail/postfix: Update to 3.8.5
f1209b604d
Muhammad Moinur Rahman (bofh) · 3.8.4_1,1
mail/postfix: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
bcea742e39
Juraj Lutter (otis) · 3.8.4,1
mail/postfix: Update to 3.8.4

This release adds support to defend against an email spoofing attack
(SMTP smuggling) on recipients at a Postfix server. For background, see
https://www.postfix.org/smtp-smuggling.html.
ec02c2679d
Juraj Lutter (otis) · 3.8.3,1
mail/postfix: Update to 3.8.3

Release notes:
http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.8.3.RELEASE_NOTES
e493e76163
Jan Beich (jbeich) · 3.8.2_1,1
devel/icu: update to 74.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by:	GitHub (watch releases)
PR:		274317
Exp-run by:	antoine (incomplete)
Approved by:	fluffy
e55b80195e
Juraj Lutter (otis) · 3.8.2,1
mail/postfix: Update to 3.8.2
017bfb46a3
Dag-Erling Smørgrav (des) · 3.8.1,1
mail/postfix: temporary build fix for FreeBSD 15.

Reviewed by:	otis
Differential Revision:	https://reviews.freebsd.org/D41599
caab3909f4
Juraj Lutter (otis) · 3.8.1,1
mail/postfix: Update to 3.8.1

Release notes: https://www.postfix.org/announcements/postfix-3.8.1.html
afff6797bf
Juraj Lutter (otis) · 3.8.0,1
mail/postfix: Update to 3.8.0

The most notable change is that starting from 3.8.0, postfix
supports SRV DNS records lookups in SMTP and LMTP clients.

Release announcement:
https://www.postfix.org/announcements/postfix-3.8.0.html
a0b47811fa
Jan Beich (jbeich) · 3.7.4_1,1
devel/icu: update to 73.1

- Temporarily switch to GitHub auto archive (release artifacts are N/A atm)

Changes:	https://github.com/unicode-org/icu/releases/tag/release-73-1
Reported by:	GitHub (watch releases)
PR:		270422
Exp-run by:	antoine
f1f1a8be88
Muhammad Moinur Rahman (bofh) · 3.7.4,1
Mk/**ldap.mk: Convert USE_LDAP to USES=ldap

Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
6e1233be22
Juraj Lutter (otis) · 3.7.4,1
mail/postfix: Update to 3.7.4
ddc90cd516
Juraj Lutter (otis) · 3.7.3_1,1
mail/postfix: Do not advertise Cyrus SASL support in LDAP flavor

PR:		260581
862135ec92
Juraj Lutter (otis) · 3.7.3_1,1
mail/postfix: Add FLAVORS (MySQL, PostgreSQL, SQLite)

Add databse flavors, based on [1]

PR:		267295
2afa5ca04a
Jan Beich (jbeich) · 3.7.3_1,1
devel/icu: update to 72.1

Changes:	https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by:	GitHub (watch releases)
PR:		266582
Exp-run by:	antoine
dfe25d73e7
Juraj Lutter (otis) · 3.7.3,1
mail/postfix: Update to 3.7.3

Reported by:	portscout
4ee8f2b002
Stefan Eßer (se) · 3.7.2_1,1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae