tumgreyspf - External policy checker for the postfix mail server

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest i386
Package filename tumgreyspf-1.38_3.txz
Package name tumgreyspf
Package version 1.38
Package release 3
Package architecture i386
Package type txz
Category mail
Homepage https://www.tummy.com/software/tumgreyspf/
License GPLv2
Maintainer sunpoet@FreeBSD.org
Download size 22.06 KB
Installed size 68.42 KB
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.
WWW: https://www.tummy.com/software/tumgreyspf/
WWW: https://github.com/linsomniac/tumgreyspf
- DOCS: on
# To configure Postfix
Add to your postfix master.cf:
tumgreyspf  unix  -       n       n       -       -       spawn
user=nobody argv=/usr/local/bin/python3.6 /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.


Package Version Architecture Repository
tumgreyspf-1.38_3.txz 1.38 amd64 FreeBSD Ports Latest
tumgreyspf-1.38_3.txz 1.38 i386 FreeBSD Ports Quarterly
tumgreyspf-1.38_3.txz 1.38 amd64 FreeBSD Ports Quarterly
tumgreyspf - - -


Name Value
py36-pyspf = 2.0.12_5
python36 = 3.6.9


Type URL
Mirror pkg.freebsd.org
Binary Package tumgreyspf-1.38_3.txz
Source Package mail/tumgreyspf

Install Howto

Install tumgreyspf txz package:

# pkg install tumgreyspf

See Also

Package Description
tuneradio-1.3.txz Command line method of tuning a Brooktree FM tuner card
tuning-primer-1.6.r1.txz MySQL performance tuning primer script
tuptime-4.0.0.txz Historical and statistical system running time report tool
turnserver- STUN/TURN Server; IPv6, DTLS support; RFCs 5389, 5766, 6062, 6156
tusd-1.0.0_1.txz Reference server implementation in Go of tus
tux_aqfh-1.0.14_11.txz Tuxedo The Penguin: A Quest for Herring
tuxfighter-54_9.txz Little Asteroids-like Shooter game
tuxkart-0.4.0_6.txz Racing game starring Tux
tuxmath-2.0.3_6,1.txz Educational arcade game starring Tux
tuxnes-0.75_6.txz Nintendo Entertainment System 8-bit emulator
tuxpaint-0.9.23.txz Drawing program designed for young children
tuxpaint-config-0.0.13_1.txz Graphical tool to change TuxPaint settings
tuxpaint-fonts-2004.06.05_1.txz TuxPaint Localized Fonts
tuxpaint-stamps-2014.08.23.txz TuxPaint Stamps
tuxracer-0.61_14.txz 3D penguin racing game using OpenGL