BSD Ports

mail/postfix-current 3.12.20260925_3,6 FreeBSD

Experimental Postfix version

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
85ba298b7e
License
EPL, IPL10
Categories
mail
Package size
1873.9 KiB, 8559.7 KiB installed

Description

Postfix attempts to be fast, easy to administer, and secure, while at the same time being sendmail compatible enough to not upset existing users. Thus, the outside has a sendmail-ish flavor, but the inside is completely different.

Some features:

Connection cache for SMTP, DSN status notifications, IP version 6, Plug-in support for multiple SASL implementations (Cyrus, Dovecot), TLS encryption and authentication, Configurable status notification message text, Access control per client/sender/recipient/etc, Content filter (built-in, external before queue, external after queue), Berkeley DB database, LDAP database, MySQL database, PostgreSQL database, Maildir and mailbox format, Virtual domains, VERP envelope return addresses and others.

In the other systems

SystemPortVersion
FreeBSDmail/postfix-current3.12.20260925_3,6
DragonFlymail/postfix-current3.10.20240612,6

Install

Binary package:

pkg install postfix-current

From the ports tree:

cd /usr/ports/mail/postfix-current/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	postfix-current>0:mail/postfix-current

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.12.20260925_2,63.12.20260925_2,63.8.20221207,63.11.20250818,63.12.20260925_2,6
FreeBSD:14:quarterly3.12.20260925,63.12.20260925_2,6n/a3.11.20250606,63.12.20260925_2,6
FreeBSD:15:latest3.12.20260925_2,63.12.20260925_2,6n/a3.11.20250606,63.11.20250818,6
FreeBSD:15:quarterly3.12.20260925,63.12.20260925_2,6n/an/an/a
FreeBSD:16:latest3.12.20260925,63.12.20260925_2,6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 5

No port depends on this one.

Configuration

Options name: mail_postfix

OptionDefaultDescription
BDBoffBerkeley DB support
BLOCKLISTDonEnable blocklistd support
CDBonCDB maps lookups
DOCSoffBuild and/or install documentation
EAIonEmail Address Internationalization (SMTPUTF8) support
INST_BASEoffInstall into /usr and /etc/postfix
LDAPoffLDAP maps (uses WITH_OPENLDAP_VER)
LMDBonLMDB maps
LMDB0onUse LMDB 0.9 library
LMDB1offUse LMDB 1.0 library
MONGOoffMongoDB support
MYSQLoffMySQL database support
NISoffNetwork Information Services/YP support
PCRE2onUse Perl Compatible Regular Expressions, version 2
PGSQLoffPostgreSQL database support
SASLoffCyrus SASL support (Dovecot SASL is always built in)
SASLKMIToffIf your SASL req. MIT Kerberos5, select this
SASLKRB5offIf your SASL req. Kerberos5, select this
SQLITEoffSQLite database support
TESToffSMTP/LMTP test server and generator
TLSonSecure network connection support via TLS
TLSRPTonEnable sending RFC 8460 TLS reports
USES
cpe pkgconfig shebangfix ssl
Service scripts
postfix
Conflicts with
courier-0.* opensmtpd opensmtpd-devel postfix postfix-base postfix-ldap-sasl postfix-sasl sendmail sendmail-devel
Flavors
postfix-current-ldap-3.12.20260925_3,6, postfix-current-sasl-3.12.20260925_3,6, postfix-current-mongo-3.12.20260925_3,6, postfix-current-mysql-3.12.20260925_3,6, postfix-current-pgsql-3.12.20260925_3,6, postfix-current-sqlite-3.12.20260925_3,6

Message 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).

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.

If you remove postfix permanent, adjust / remove the the following file:
  - /usr/local/etc/mail/mailer.conf

Files

Manual pages 80
  • access(5)
  • aliases(5)
  • anvil(8)
  • body_checks(5)
  • bounce(5)
  • bounce(8)
  • canonical(5)
  • cidr_table(5)
  • cleanup(8)
  • defer(8)
  • discard(8)
  • dnsblog(8)
  • error(8)
  • flush(8)
  • generic(5)
  • header_checks(5)
  • ldap_table(5)
  • lmdb_table(5)
  • lmtp(8)
  • local(8)
  • mailq(1)
  • master(5)
  • master(8)
  • memcache_table(5)
  • mongodb_table(5)
  • mysql_table(5)
  • nbdb_reindexd(8)
  • newaliases(1)
  • nisplus_table(5)
  • oqmgr(8)
  • pcre_table(5)
  • pgsql_table(5)
  • pickup(8)
  • pipe(8)
  • postalias(1)
  • postcat(1)
  • postconf(1)
  • postconf(5)
  • postdrop(1)
  • postfix(1)
  • postfix-non-bdb(1)
  • postfix-tls(1)
  • postfix-wrapper(5)
  • postkick(1)
  • postlock(1)
  • postlog(1)
  • postlogd(8)
  • postmap(1)
  • postmulti(1)
  • postqueue(1)
  • postscreen(8)
  • postsuper(1)
  • posttls-finger(1)
  • proxymap(8)
  • qmgr(8)
  • qmqp-sink(1)
  • qmqp-source(1)
  • qmqpd(8)
  • qshape(1)
  • regexp_table(5)
  • relocated(5)
  • scache(8)
  • sendmail(1)
  • showq(8)
  • smtp(8)
  • smtp-sink(1)
  • smtp-source(1)
  • smtpd(8)
  • socketmap_table(5)
  • spawn(8)
  • sqlite_table(5)
  • tcp_table(5)
  • tlsmgr(8)
  • tlsproxy(8)
  • trace(8)
  • transport(5)
  • trivial-rewrite(8)
  • verify(8)
  • virtual(5)
  • virtual(8)
pkg-plist 208
  • bin/mailq
  • bin/newaliases
  • bin/qmqp-sink
  • bin/qmqp-source
  • bin/qshape
  • bin/rmail
  • bin/smtp-sink
  • bin/smtp-source
  • %%PFETC%%/LICENSE
  • %%PFETC%%/TLS_LICENSE
  • %%PFETC%%/bounce.cf.default
  • %%PFETC%%/main.cf.default
  • @sample %%PFETC%%/main.cf.sample
  • @sample %%PFETC%%/master.cf.sample
  • @sample %%PFETC%%/access.sample
  • @sample %%PFETC%%/aliases.sample
  • @sample %%PFETC%%/canonical.sample
  • @sample %%PFETC%%/generic.sample
  • @sample %%PFETC%%/header_checks.sample
  • @sample %%PFETC%%/relocated.sample
  • @sample %%PFETC%%/transport.sample
  • @sample %%PFETC%%/virtual.sample
  • lib/postfix/libpostfix-dns.so
  • lib/postfix/libpostfix-global.so
  • lib/postfix/libpostfix-master.so
  • lib/postfix/libpostfix-tls.so
  • lib/postfix/libpostfix-util.so
  • lib/postfix/postfix-cdb.so
  • lib/postfix/postfix-db.so
  • lib/postfix/postfix-ldap.so
  • lib/postfix/postfix-lmdb.so
  • lib/postfix/postfix-mongodb.so
  • lib/postfix/postfix-mysql.so
  • lib/postfix/postfix-pcre.so
  • lib/postfix/postfix-pgsql.so
  • lib/postfix/postfix-sqlite.so
  • libexec/postfix/anvil
  • libexec/postfix/bounce
  • libexec/postfix/cleanup
  • libexec/postfix/discard
  • libexec/postfix/dnsblog
  • libexec/postfix/dynamicmaps.cf
  • libexec/postfix/dynamicmaps.cf.d/cdb.cf
  • libexec/postfix/dynamicmaps.cf.d/ldap.cf
  • libexec/postfix/dynamicmaps.cf.d/lmdb.cf
  • libexec/postfix/dynamicmaps.cf.d/mongodb.cf
  • libexec/postfix/dynamicmaps.cf.d/mysql.cf
  • libexec/postfix/dynamicmaps.cf.d/pcre.cf
  • libexec/postfix/dynamicmaps.cf.d/pgsql.cf
  • libexec/postfix/dynamicmaps.cf.d/sqlite.cf
  • libexec/postfix/error
  • libexec/postfix/flush
  • libexec/postfix/lmtp
  • libexec/postfix/local
  • libexec/postfix/main.cf.proto
  • libexec/postfix/makedefs.out
  • libexec/postfix/master
  • libexec/postfix/master.cf.proto
  • libexec/postfix/nbdb_reindexd
  • libexec/postfix/nqmgr
  • libexec/postfix/oqmgr
  • libexec/postfix/pickup
  • libexec/postfix/pipe
  • libexec/postfix/post-install
  • libexec/postfix/postfix-files
  • libexec/postfix/postfix-files.d/cdb-files
  • libexec/postfix/postfix-files.d/ldap-files
  • libexec/postfix/postfix-files.d/lmdb-files
  • libexec/postfix/postfix-files.d/mongodb-files
  • libexec/postfix/postfix-files.d/mysql-files
  • libexec/postfix/postfix-files.d/pcre-files
  • libexec/postfix/postfix-files.d/pgsql-files
  • libexec/postfix/postfix-files.d/sqlite-files
  • libexec/postfix/postfix-non-bdb-script
  • libexec/postfix/postfix-script
  • libexec/postfix/postfix-tls-script
  • libexec/postfix/postfix-wrapper
  • libexec/postfix/postlogd
  • libexec/postfix/postmulti-script
  • libexec/postfix/postscreen
  • libexec/postfix/proxymap
  • libexec/postfix/qmgr
  • libexec/postfix/qmqpd
  • libexec/postfix/scache
  • libexec/postfix/showq
  • libexec/postfix/smtp
  • libexec/postfix/smtpd
  • libexec/postfix/spawn
  • libexec/postfix/tlsmgr
  • libexec/postfix/tlsproxy
  • libexec/postfix/trivial-rewrite
  • libexec/postfix/verify
  • libexec/postfix/virtual
  • share/man/man1/mailq.1.gz
  • share/man/man1/newaliases.1.gz
  • share/man/man1/postalias.1.gz
  • share/man/man1/postcat.1.gz
  • share/man/man1/postconf.1.gz
  • share/man/man1/postdrop.1.gz
  • share/man/man1/postfix-non-bdb.1.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
postfix/postfix-3.12-20260925.tar.gz5.461457e+064748afcefd845b9233c48b686bb8848dad51af098df3547c1dadd9d7e0508531
Master sites 1
  • ${MASTER_SITES:S|$|experimental/|}

Commit history 10

DateCommitCreditsLog message
85ba298b7e Baptiste Daroussin 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 …
802010fce0 Juraj Lutter mail/postfix-current: Fix lmdb dependency
- Do not depend on lmdb even when LMDB is turned off [1] PR: 299276
54b81fc926 Juraj Lutter mail/postfix-current: Depend on databases/lmdb0 by default again
Depend on databases/lmdb0 by default and allow to select also databases/lmdb.
17f1b06569 Juraj Lutter mail/postfix-current: Update to 3.12-20260925
- Update to 3.12-20260925 - Depend on databases/lmdb - Switch to pkgconfig similarly to mail/postfix
776d4b7966 Juraj Lutter mail/postfix-current: Update to 3.12-20260902
PR: 298430

The latest 5 of 10 in the history this site was built from.