Port details on branch 2025Q3 |
- postfix Secure alternative to widely-used Sendmail
- 3.10.3,1 mail
=0 3.10.3,1Version of this port present on the latest quarterly branch. - Maintainer: otis@FreeBSD.org
 - Port Added: 2025-07-11 22:03:04
- Last Update: 2025-07-11 21:59:44
- Commit Hash: b2c56c6
- License: EPL IPL10
- WWW:
- https://www.postfix.org/
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- courier-0.*
- opensmtpd
- opensmtpd-devel
- postfix
- postfix-base
- postfix-ldap-sasl
- postfix-sasl
- sendmail
- sendmail-devel
- postfix-base-ldap
- postfix-base-sasl
- postfix-ldap
- postfix-sasl
- postfix-mongo
- postfix-base-mongo
- postfix-mysql
- postfix-base-mysql
- postfix-pgsql
- postfix-base-pgsql
- postfix-sqlite
- postfix-base-sqlite
- To install the port:
- cd /usr/ports/mail/postfix/ && make install clean
- To add the package, run one of these commands:
- pkg install mail/postfix
- pkg install postfix
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postfix
- Package flavors (<flavor>: <package>)
- default: postfix
- ldap: postfix-ldap
- mongo: postfix-mongo
- mysql: postfix-mysql
- pgsql: postfix-pgsql
- sasl: postfix-sasl
- sqlite: postfix-sqlite
- distinfo:
- TIMESTAMP = 1752265724
SHA256 (postfix/postfix-3.10.3.tar.gz) = e3cec05d91b6d2958ecd6ea9045faa35f79c5b0e228b975ace46ad2afe812053
SIZE (postfix/postfix-3.10.3.tar.gz) = 5048719
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Library dependencies:
-
- libicuuc.so : devel/icu
- libpcre2-8.so : devel/pcre2
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for postfix-3.10.3,1:
BDB=off: Berkeley DB support
BLACKLISTD=on: Enable blacklistd support
CDB=off: CDB maps lookups
DOCS=on: Build and/or install documentation
EAI=on: Email Address Internationalization (SMTPUTF8) support
INST_BASE=off: Install into /usr and /etc/postfix
LDAP=off: LDAP maps (uses WITH_OPENLDAP_VER)
LMDB=off: LMDB maps
MONGO=off: MongoDB support
MYSQL=off: MySQL database support
NIS=off: Network Information Services/YP support
PCRE2=on: Use Perl Compatible Regular Expressions, version 2
PGSQL=off: PostgreSQL database support
SASL=off: Cyrus SASL support (Dovecot SASL is always built in)
SQLITE=off: SQLite database support
TEST=off: SMTP/LMTP test server and generator
TLS=on: Secure network connection support via TLS
TLSRPT=off: Enable sending RFC 8460 TLS reports
====> Kerberos network authentication protocol type: you can only select none or one of them
SASLKMIT=off: If your SASL req. MIT Kerberos5, select this
SASLKRB5=off: If your SASL req. Kerberos5, select this
===> Use 'make config' to modify these settings
- Options name:
- mail_postfix
- USES:
- cpe shebangfix ssl
- pkg-message:
- For install:
- 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 removing:
- If you remove postfix permanent, adjust / remove the the following file:
- /usr/local/etc/mail/mailer.conf
- Master Sites:
|