- 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
Postfix -- memory corruption vulnerabilityentered 2011-05-09
Secure alternative to widely-used Sendmail
# 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-sqliteinstalls 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# cd /usr/ports/mail/postfix && make install clean# make -C /usr/ports/mail/postfix config # change options first
postfix, group mail, maildrop, postfixTo 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).
If you remove postfix permanent, adjust / remove the the following file: - /usr/local/etc/mail/mailer.conf
| 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 |
| 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.
pkg audit for the packaged version 3.11.7_4,1.| PR | Summary | Status | Changed |
|---|---|---|---|
| 299271 | maintainer-feedback? mail/postfix: lmdb version issue fixed in main but not 2026Q4 | New | 2026-10-14 |
- 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
- 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: maintainer592f1111ae
- Update to 2.2.4. PR: ports/82546 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer6f46e1fb54
- 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
Update the VDA patch to 2.2.3 PR: ports/80859 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainerd87b215f4b
Update to 2.2.3 PR: ports/80552 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer8af366c0b3
- 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
- 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
- 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
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
[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
- 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
- Fix build with SASLKRB5 option PR: ports/73100 Submitted by: Matthew X. Economou <xenophon+freebsd@irtnog.org> Approved by: maintainer67148f52a7
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
Make sure this patch applies correctly when PATCH_STRIP=-p1, as is the case when TLS is enabled. Approved by: portmgr (krion)80441fd488
Fix build on 6.0. Approved by: maintainer8eccf35301
- Add VDA (Virtual Delivery Agent) patch PR: ports/70637 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer0fe0830849
Add a patch to optionnaly add libspf2 PR: 70595 Submitted by: maintainer9ca785ab6d
- Update to 2.1.4 PR: ports/68949 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)e28d8ba3be
- Update IPv6 patches to 2.1.3 PR: ports/68273 Submitted by: Olafur Osvaldsson <oli@aker.isnic.is> Approved by: maintainer32044eb2ca
- 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
- Wordsmithing in comment PR: ports/67782 Submitted by: Chris Pepper <pepper@reppep.com>8844544c3c
- Update IPv6 patches to 1.24 PR: ports/67003 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)1f38f53733
update mail/postfix to latest release update postfix to 2.1.1 release PR: ports/66569 Submitted by: Vivek Khera <vivek@khera.org>c9f13daed8
- Update to 2.1.0 PR: ports/66215 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)32b59b18f6
- Update to 2.0.20 PR: ports/66056 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)364ad0f0fb
Use /usr/sbin/nologin instead of /sbin/nologin if it exists and is executable. Use fixed UIDs (125) and GIDs (125, 126). Approved by: maintainer26d0fd7623
- Kill trailing whitespace PR: ports/65053 Submitted by: Xin LI <delphij@frontfree.net>1b5f385894
- Add support for db42 PR: ports/64801 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Approved by: maintainer56437cf481
- Update 2.0.19 - SIZEify - Update maintainer address PR: 64590 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)c750839baa
s/USE_OPENLDAP_VER/WANT_OPENLDAP_VER/g in comments. Noticed by: eikc562c46c74
Use USE_MYSQL and USE_OPENLDAP. PR: ports/63814 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)719305a702
Fix build with LDAP. Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com> Approved by: Vivek Khera <khera@kcilink.com> (maintainer) PR: 6269099b6ee13be
Update to latest released version. Update TLS/IPv6 patches to match. PR: 62121 Submitted by: Vivek Khera <vivek@khera.org> (maintainer)920cefb5d8
Respect ${CC} flag.
Approved by: Vivek Khera <vivek@khera.org> (maintainer)3df17fbf39Add the rc.conf pid-file specification line for startup. PR: 57074 Submitted by: Jonathan Chen <jonc@chen.org.nz> Approved by: maintainer5fd437752f
- add CONFLICTS Submitted by: eikemeier@fillmore-labs.com Approved by: kris23a445abcc
Update to 2.0.16 PR: ports/57083 (partially) PR submitted by: osa Approved/Reviewed by: Vivek Khera <khera@kciLink.com> (maintainer)05ea4ef217
Update postfix to latest release (mainly a Solaris bug workaround). Submitted by: Vivek Khera <khera@kcilink.com> (maintainer) PR: 566312420db2c2c
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, 560168adda270e9
Fix plist at optional IPv6 configuration. PR: ports/55301 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>76f34ce632
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
One of the patch files for postfix was not PREFIX-clean. This makes it PREFIX-clean PR: 54768 Submitted by: maintainer356d8f1b3d
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 maintainer9d2df035ea
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
update mail/postfix: 2.0.12 --> 2.0.13 PR: 53984 Submitted by: Vivek Khera <khera@kcilink.com> (maintainer)78bcee5b64
Upgrade to 2.0.12. PR: ports/53846 Submitted by: maintainerc552baff61
- 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
* Upgrade to 2.0.9. * Re-enable IPv6 without TLS as an option. PR: ports/52133 Submitted by: maintainerb80d569272
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