BSD Ports

mail/postfix 3.11.7_4,1 FreeBSD

Secure alternative to widely-used Sendmail

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
85ba298b7e
License
EPL, IPL10
Categories
mail
Package size
1836.2 KiB, 8386.5 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/postfix3.11.7_4,1
NetBSDmail/postfix3.11.7
DragonFlymail/postfix3.10.1,1
MidnightBSDmail/postfix3.11.7,1

Install

Binary package:

pkg install postfix

From the ports tree:

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

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

RUN_DEPENDS=	postfix>0:mail/postfix

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.11.7_3,13.11.7_3,13.7.3_1,13.10.4,13.11.7_3,1
FreeBSD:14:quarterly3.11.7_1,13.11.7_3,1n/a3.10.3,13.11.7_3,1
FreeBSD:15:latest3.11.7_3,13.11.7_3,1n/a3.10.3,13.10.4,1
FreeBSD:15:quarterly3.11.7_1,13.11.7_3,1n/an/an/a
FreeBSD:16:latest3.11.7_1,13.11.7_3,1n/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

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-ldap-3.11.7_4,1, postfix-sasl-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-sqlite-3.11.7_4,1

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 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 206
  • 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-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-non-bdb-script
  • 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-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
  • share/man/man1/postfix-tls.1.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
postfix/postfix-3.11.7.tar.gz5.293599e+06a2f3242345753448072177fae83c322a403c9263696996406201145dab8e8625
Master sites 1
  • ${MASTER_SITES:S|$|official/|}

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 …
696289b3e6 Juraj Lutter mail/postfix: Fix lmdb dependency
- Do not depend on lmdb even when LMDB is turned off [1] PR: 299276
92e125ad0d Juraj Lutter mail/postfix: Depend on databases/lmdb0 by default again
Depend on databases/lmdb0 by default and allow to select also databases/lmdb.
b4ccc524e3 Juraj Lutter mail/postfix: Depend on databases/lmdb
As the breaking change introduced in lmdb 1.0.0 has been reverted since lmdb 1.0.1, change the dependency back to databases/lmdb And while here, also replace the hardwired include and library paths and named with pkgconfig.
fd2e3a26b8 Juraj Lutter mail/postfix: Update to 3.11.7
PR: 298429

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