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 upgrading
If you are upgrading from prior postfix version, please see the README
files for recommended changes to your configuration and additional
http://www.postfix.org/COMPATIBILITY_README.html
Incompatible change with snapshot 20200920
==========================================
Internal protocols have changed. You need to "postfix stop" before
updating, or before backing out to an earlier release, otherwise
long-running daemons (pickup, qmgr, verify, tlsproxy, postscreen)
may fail to communicate with the rest of Postfix (warnings, timeouts).
The purpose of this change is to produce better error messages, for
example, when someone configures the discard daemon as a bounce
service in master.cf, or vice versa.
This change will break third-party code that implements a
Postfix-internal protocol such as qpsmtpd. Programs that depend on
Postfix internal details are not supported.
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-current.
Packages by version and architecture
latest
FreeBSD version
amd64
aarch64
i386
FreeBSD 16
3.12.20260925_3,6
3.12.20260925_2,6
–
FreeBSD 15
3.12.20260925_3,6
3.12.20260925_2,6
–
FreeBSD 14
3.12.20260925_3,6
3.12.20260925_2,6
3.12.20260925_3,6
quarterly (2026Q4)
FreeBSD version
amd64
aarch64
i386
FreeBSD 15
3.12.20260925_2,6
3.12.20260925_2,6
–
FreeBSD 14
3.12.20260925_2,6
3.12.20260925,6
3.12.20260925_2,6
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.12.20260925_3,6.
Fixed (2)
Show 2 fixed
VuXML entries whose affected range the packaged version has left.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (588)
David W. Chapman Jr. (dwcjr) · 20010808
Update postfix to 20010808 Update configure script to be smaller and fix it from trying to grep directories Update TLS to version for new postfix version Add missing man pages
PR: 30177
Submitted by: maintainer, slin@infomath.math.nctu.edu.tw
Back out the db3 port update because some of these dependent ports had been broken by the incompatibility between db3.2 and db3.3.
I am unconditionally bumping the PORTREVISION's to eliminate possible
troubles that should not happen before the coming release.
Sorry for inconvenience. I'll try to check compatibility hard before
committing next time.
Add better way to detect if sasl is compiled with mysql compile with mysql if sasl isn't installed as its sasl's default
Submitted by: Stefan Esser <se@freebsd.org>
Install rmail script for those who don't use sendmail or compile it Delete %D/etc/postfix quietly since most deinstalls are just upgrades to the next snapshot.
PR: 27038
Reviewed by: roam
Mark BROKEN on alpha: Problems with unaligned access.
On my box almost all commands coming with postfix produce unaligned
access errors. Delivery of mails to another mailserver via SMTP works,
but it fails to deliver mails to local users.
Use configure.postfix script to configure. Add an option for Berkeley DB3. Use tabs instead of spaces in mailer.conf.
PR: ports/24429
Submitted by: yds@dppl.com
Reviewed and modified by: maintainer
Switch from mysql322-{client,server} to mysql323-{client,server}.
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).
mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
Upgrade, 20001212 -> 20001217. Mr. Chapman reports that postfix is closing in on a major release. Updates in this commit include updates to TLS 0.6.30 and the MySQL interface.
Submitted by: David W. Chapman Jr. <dwcjr@inethouston.net>
Add remaining changes to update TLS support. I forgot to commit these with the original PR (didn't see the additional two patch files).
PR: 23062
Approved by: maintainer
Change configure script to use find & grep instead of grep -r. The -r option is only available on 4.X. This allows postfix to compile properly on FreeBSD 3.X (and possibly before.)
Approved by: David W. Chapman Jr. <dwcjr@inethouston.net> (maintainer)