BSD Ports

mail/greyfix 0.4.0_2 DragonFly

Greylisting policy daemon for Postfix

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
mail
Package size
13.4 KiB, 28.7 KiB installed

Description

Greyfix is the greylisting policy daemon for Postfix written by Kim Minh Kaplan. Greyfix uses Postfix policy mechanism to enable greylisting with Postfix.

In the other systems

SystemPortVersion
DragonFlymail/greyfix0.4.0_2
FreeBSDmail/greyfix0.4.0_2

Install

Binary package:

pkg install greyfix

From DPorts:

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

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Edit Postfix's master configuration file, master.cf, and add the following:

    greyfix    unix  -       n       n       -       -       spawn
      user=nobody argv=/usr/local/sbin/greyfix -/ 24

(The -/ argument specifies how much of the IP address to consider significant,
in this case the first 24 bits.)

Edit Postfix's main configuration file, main.cf and add the following:

    smtpd_recipient_restrictions = permit_mynetworks,
      reject_unauth_destination,
      check_policy_service unix:private/greyfix

If there is already a smtpd_recipient_restrictions configuration line you
should edit it rather than add a new one. The important part for Greyfix is
that you should add check_policy_service unix:private/greyfix to it.

Finally have postfix reload its configuration with:

    /usr/local/etc/rc.d/postfix reload