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)
James E. Housley (jeh) · 20001030_1
*Detects kerberos and compiles SASL with it if it exists *Adds 2 missing binaries, flush and spawn and includes their man pages *Changes postfix to ${PKGNAME} *Delete duplicate code to create /var/spool/postfix *Bump PORTREVISION to 1
Submitted by: "David W. Chapman Jr." <dwcjr@inethouston.net> MAINTAINER
Fix [pre,post]-install to use pkg-install script properly. Use forward ticks instead of double quotes for the replace message to get rid of the backquote hack.
PR: 21349 (related to it anyway)
Submitted by: Yarema <yds@dppl.com>
Update to snapshot 20001030. Use real make(1) .for (instead of @for) loops. Fix occasional breakage when CC contains spaces. Remove manpages from the PLIST. Remove miscellaneous erroneous lines from PLIST. Use proper WITH_* PLIST_SUBs. Consolidate .if defined(WITH_*)'s. Add iteration for CONF* files in their two separate locations as well as BIN*. Use absolute paths in install script. Han
PR: 21439, 22409
Submitted by: Yarema <yds@dppl.com>
David W. Chapman Jr. <dwcjr@inethouston.net>
Approved by: MAINTAINER
Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type fixes that shouldn't have been necessary) and the string "/pkg/" appear.
3 commits to make one line work? I must have a empty dumptruck with only a little white powder still left in it...
Submitted by: Miha Nedok <mike@mike.unix-systems.net>
sasl updates
Submitted by: MAINTAINER
also, change ${SH} to /bin/sh, the former probably doesn't work because
of some bsd.{pre,post}.port.mk thing, but I don't have time to diagnose it.
Update to the latest snapshot, plus add hooks for all the very spiffy plugins that postfix can use.
Submitted by: Omanchu Oogali <missnglnk@sneakerz.org> (new MAINTAINER)
Standardize all user defined options to the booleans WITH_FOO and WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options.
No comment by: ports
Allow postfix to be built on FreeBSD-5.x (-CURRENT). These patches are the same as were submitted on the postfix-users mailing list (and should be integrated for the next release).
No response from: Maintainer
- Upgrade to patchlevel 3 - Add support for MySQL and LDAP support
MySQL + LDAP Patches submitted by Blaz Zupan <blaz@amis.net>
and re-used with minor cleanups.