BSD Ports

mail/postfix-policyd-spf-perl 2.011 DragonFly

SPF policy service for Postfix written in Perl

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
mail
Package size
11.0 KiB, 32.8 KiB installed

Description

postfix-policyd-spf-perl is an RFC-4408-compliant SPF policy service for postfix written in Perl.

In the other systems

The newest version among them is 2.011, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymail/postfix-policyd-spf-perl2.011 newestnone known-[email protected]-
FreeBSDmail/postfix-policyd-spf-perl2.011 newestnone known-[email protected]-
OpenBSDmail/postfix-policyd-spf-perl2.011 newestno data-Giovanni Bechis <[email protected]>-
HardenedBSDmail/postfix-policyd-spf-perl2.011 newestno data-[email protected]-
GhostBSDmail/postfix-policyd-spf-perl2.011 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install postfix-policyd-spf-perl

From DPorts:

cd /usr/dports/mail/postfix-policyd-spf-perl && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The service is not enabled by default.  Enable it by doing the following:

1. Add the following to /etc/postfix/master.cf:

	spf-policy unix -       n       n       -       0       spawn
	  user=nobody argv=/usr/local/libexec/postfix-policyd-spf-perl

   The user nobody is fine if you have no other daemons running as nobody.
   Otherwise, you should use a dedicated user and group for this policy
   service.

2. Add "spf-policy_time_limit = 3600" to main.cf.

3. Configure the Postfix policy service in /usr/local/etc/postfix/main.cf:

	smtpd_recipient_restrictions =
		...
		reject_unauth_destination
		...
		check_policy_service unix:private/spf-policy
		...

   NOTE: Specify check_policy_service AFTER reject_unauth_destination or your
   system may become an open relay.

4. Restart Postfix.