BSD Ports

mail/tumgreyspf 1.38_3 FreeBSD

External policy checker for the postfix mail server

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
mail
Package size
23.4 KiB, 68.4 KiB installed

Description

Tumgreyspf, an external policy checker for the postfix mail server. It can optionally greylist and/or use spfquery to check SPF records to determine if email should be accepted by your server.

Because of its design, legitimate e-mail is never trapped or rejected. Only spam and viruses are caught. Since adding it to our mail server (which also uses Spam Assassin, ClamAV, and an outsourced anti-spam system), our spam level has dropped by an order of magnitude.

It uses the file-system as its database, no additional database is required to use it.

In the other systems

SystemPortVersion
FreeBSDmail/tumgreyspf1.38_3
DragonFlymail/tumgreyspf1.38_3
HardenedBSDmail/tumgreyspf1.38_3
GhostBSDmail/tumgreyspf1.38_3

Install

Binary package:

pkg install tumgreyspf

From the ports tree:

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

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

RUN_DEPENDS=	tumgreyspf>0:mail/tumgreyspf

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:latest1.38_31.38_31.38_31.38_31.38_3
FreeBSD:14:quarterly1.38_31.38_3n/a1.38_31.38_3
FreeBSD:15:latest1.38_31.38_3n/a1.38_31.38_3
FreeBSD:15:quarterly1.38_31.38_3n/an/an/a
FreeBSD:16:latest1.38_31.38_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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

Build dependencies 7
Run dependencies 35

No port depends on this one.

Configuration

Options name: mail_tumgreyspf

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
python shebangfix
Service scripts
none

Message after installing

#
# To configure Postfix
#

Add to your postfix master.cf:

tumgreyspf  unix  -       n       n       -       -       spawn
  user=nobody argv=/usr/local/bin/python3.12 /usr/local/bin/tumgreyspf

Next, main.cf must be configured so that "smtpd_sender_restrictions"
includes a call to the tumgreyspf policy filter.  If you already have
a "smtpd_sender_restrictions" line(s), you can add the following line
anywhere after the line which reads "reject_unauth_destination".

check_policy_service unix:private/tumgreyspf

WARNING: It's very important that you have
"reject_unauth_destination" before the "check_policy_service".  If
you do not, your system may be an open relay.

So, for example, a minimal "smtpd_sender_restrictions" may look like:

smtpd_sender_restrictions = reject_unauth_destination,
                            check_policy_service unix:private/tumgreyspf

You will also need to have a line in the main.cf which reads:

tumgreyspf_time_limit = 3600

Please consult the postfix documentation for more information on
these and other settings you may wish to have in the
"smtpd_recipient_restrictions" configuration.

Files

pkg-plist 11
  • bin/tumgreyspf
  • bin/tumgreyspf-clean
  • bin/tumgreyspf-configtest
  • bin/tumgreyspf-gentest
  • bin/tumgreyspf-stat
  • @sample etc/tumgreyspf.conf.sample
  • %%PYTHON_SITELIBDIR%%/tumgreyspfsupp.py
  • @sample share/tumgreyspf/__default__.sample
  • @dir(,,700) %%TUMGREYSPF_DIR%%/data
  • @dir(,,755) %%TUMGREYSPF_DIR%%/config
  • @dir(,,755)
distinfo 1
FileSizeSHA256
tumgreyspf-1.38.tar.gz30751bffec3f197e5a8cb009abd568b81e04f9316ded75a1e6007284282f1487993c8
Master sites 3
  • http://ftp.tummy.com/pub/tummy/tumgreyspf/
  • http://ftp.tummy.com/pub/tummy/tumgreyspf/old-releases/
  • LOCAL/sunpoet

Commit history 0

No commits in the history this site was built from.