BSD Ports

mail/postfix-postfwd 2.03_2 FreeBSD

Postfix firewall policy daemon

System
FreeBSD
Repository
FreeBSD ports
Maintainer
andreas.jobs+[email protected]
License
BSD3CLAUSE
Categories
mail
Package size
144.4 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
FreeBSDmail/postfix-postfwd2.03_2
DragonFlymail/postfix-postfwd2.03_2
HardenedBSDmail/postfix-postfwd2.03_2
GhostBSDmail/postfix-postfwd2.03_2

Install

Binary package:

pkg install postfix-postfwd

From the ports tree:

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

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

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

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:latest2.03_22.03_22.03_12.03_22.03_2
FreeBSD:14:quarterly2.03_22.03_2n/a2.03_22.03_2
FreeBSD:15:latest2.03_22.03_2n/a2.03_22.03_2
FreeBSD:15:quarterly2.03_22.03_2n/an/an/a
FreeBSD:16:latest2.03_22.03_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

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

Run dependencies 7

No port depends on this one.

Configuration

Options name: mail_postfwd

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
perl5 shebangfix
Service scripts
postfwd

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

Files

Manual pages 4
  • postfwd(8)
  • postfwd1(8)
  • postfwd2(8)
  • postfwd3(8)
pkg-plist 6
  • bin/postfwd
  • etc/postfwd
  • share/man/man8/postfwd.8.gz
  • share/man/man8/postfwd1.8.gz
  • share/man/man8/postfwd2.8.gz
  • share/man/man8/postfwd3.8.gz
distinfo 1
FileSizeSHA256
postfwd-postfwd-v2.03_GH0.tar.gz26685798c297cdeaa0d8f7d792f18beeaba039e966fc8d9f66752276aebfba05c31dad

Commit history 0

No commits in the history this site was built from.