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 version
amd64
aarch64
i386
FreeBSD 16
3.11.7_4,1
3.11.7_3,1
–
FreeBSD 15
3.11.7_4,1
3.11.7_3,1
–
FreeBSD 14
3.11.7_4,1
3.11.7_3,1
3.11.7_4,1
quarterly (2026Q4)
FreeBSD version
amd64
aarch64
i386
FreeBSD 15
3.11.7_3,1
3.11.7_3,1
–
FreeBSD 14
3.11.7_3,1
3.11.7_1,1
3.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.
maintainer-feedback? mail/postfix: lmdb version issue fixed in main but not 2026Q4
New
2026-10-14
Commits (447)
Yen-Ming Lee (leeym) · 2.0.6,1
update postfix to 2.0.6
this is a security critical release -- it works around the same bug that was
recently patched in sendmail to protect any unpatched sendmail servers behind
a postfix gateway.
this fix allows one to leave postfix as the gateway machine when there are
unpatched sendmail servers, rather than having to install sendmail on your
gateway.
PR: 49006
Submitted by: Vivek Khera <khera@kcilink.com>
Approved by: kris
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.
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.
Update port to 20010228 pl02. pkg-plist cleanup. Update to TLS patch 0.7.2. Update to IPv6 patch 20010228pl02-v6-20010503a. Complain if user tries to compile with both TLS and IPv6 enabled. Complain if user tries to compile with IPv6 on non-i386 platform (ie alpha). Change maintainer e-mail address.
Submitted by: blaz@si.FreeBSD.org (maintainer)
PR: ports/27098
Revert previous commit.
sendmail_enable="YES" in rc.conf executes /usr/sbin/sendmail at
startup. But mysql-client.sh is not yet executed at that stage.