BSD Ports

mail/postfix-postfwd 2.03_2 DragonFly

Postfix firewall policy daemon

System
DragonFly
Repository
DPorts
Maintainer
andreas.jobs+[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
mail
Package size
141.6 KiB, 621.4 KiB installed

Description

The program uses the postfix policy delegation protocol to control access to the mail system before a message has been accepted (please visit http://www.postfix.org/SMTPD_POLICY_README.html for more information). It allows you to choose an action (e.g. reject, dunno) for a combination of several smtp parameters (like sender and recipient address, size or the client's TLS fingerprint).

In the other systems

SystemPortVersion
DragonFlymail/postfix-postfwd2.03_2
FreeBSDmail/postfix-postfwd2.03_2
HardenedBSDmail/postfix-postfwd2.03_2
GhostBSDmail/postfix-postfwd2.03_2

Install

Binary package:

pkg install postfix-postfwd

From DPorts:

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

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

* Start postfwd with:

# /usr/local/etc/rc.d/postfwd start

* Integrate thusly in: /usr/local/etc/postfix/main.cf

127.0.0.1:10040_time_limit   = 3600

smtpd_recipient_restrictions =
	...
	permit_mynetworks
	...
	reject_unauth_destination
	reject_unauth_pipelining
	check_policy_service inet:127.0.0.1:10040
	...

* NOTE: specify check_policy_service AFTER reject_unauth_destination
* or else your system can become an open relay.
*
* CONFIGURATION:
*
* Create and edit /usr/local/etc/postfwd.conf
* An example is provided in /usr/local/etc/postfwd.conf.sample