BSD Ports

mail/greyfix 0.4.0_2 FreeBSD

Greylisting policy daemon for Postfix

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
mail
Package size
14.4 KiB, 29.3 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
FreeBSDmail/greyfix0.4.0_2
DragonFlymail/greyfix0.4.0_2

Install

Binary package:

pkg install greyfix

From the ports tree:

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

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

RUN_DEPENDS=	greyfix>0:mail/greyfix

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:latest0.4.0_20.4.0_20.4.0_10.4.0_20.4.0_2
FreeBSD:14:quarterly0.4.0_20.4.0_2n/a0.4.0_20.4.0_2
FreeBSD:15:latest0.4.0_20.4.0_2n/a0.4.0_20.4.0_2
FreeBSD:15:quarterly0.4.0_20.4.0_2n/an/an/a
FreeBSD:16:latest0.4.0_20.4.0_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
bdb:5+
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

Files

Manual pages 1
  • greyfix(8)
pkg-plist 3
  • share/man/man8/greyfix.8.gz
  • sbin/greyfix
  • @dir(nobody,mail,770) /var/db/greyfix
distinfo 1
FileSizeSHA256
greyfix-0.4.0.tar.gz9805126013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe
Master sites 2
  • http://www.kim-minh.com/pub/greyfix/
  • http://stereochro.me/distfiles/

Commit history 0

No commits in the history this site was built from.