BSD Ports

mail/postfix 3.10.1,1 DragonFly

Secure alternative to widely-used Sendmail

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
EPL, IPL10
Categories
mail
Package size
1716.9 KiB, 7993.8 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
DragonFlymail/postfix3.10.1,1
FreeBSDmail/postfix3.11.7_4,1
NetBSDmail/postfix3.11.7
MidnightBSDmail/postfix3.11.7,1

Install

Binary package:

pkg install postfix

From DPorts:

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

Dependencies

Run dependencies 3

Configuration

No options to configure.

Service scripts
none
Flavors
postfix-ldap-3.10.1,1, postfix-sasl-3.10.1,1, postfix-mongo-3.10.1,1, postfix-mysql-3.10.1,1, postfix-pgsql-3.10.1,1, postfix-sqlite-3.10.1,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 /etc/mail/mailer.conf
  - mv /etc/mail/mailer.conf /etc/mail/mailer.conf.old
  - install -d /etc/mail
  - install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /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:
  - /etc/mail/mailer.conf