notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
tumgreyspf External policy checker for the postfix mail server
1.38_3 mail on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.38_3Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2005-09-02 12:53:48
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: runit, screen, python, rkhunter
License: GPLv2
WWW:
https://www.tummy.com/software/tumgreyspf/
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. See also: https://github.com/linsomniac/tumgreyspf
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (17 items)
Collapse this list.
  1. /usr/local/share/licenses/tumgreyspf-1.38_3/catalog.mk
  2. /usr/local/share/licenses/tumgreyspf-1.38_3/LICENSE
  3. /usr/local/share/licenses/tumgreyspf-1.38_3/GPLv2
  4. bin/tumgreyspf
  5. bin/tumgreyspf-clean
  6. bin/tumgreyspf-configtest
  7. bin/tumgreyspf-gentest
  8. bin/tumgreyspf-stat
  9. @sample etc/tumgreyspf.conf.sample
  10. lib/python3.9/site-packages/tumgreyspfsupp.py
  11. @sample share/tumgreyspf/__default__.sample
  12. @dir(nobody,nobody,700) /var/db/tumgreyspf/data
  13. @dir(,,755) /var/db/tumgreyspf/config
  14. @dir(nobody,nobody,755) /var/db/tumgreyspf
  15. @owner
  16. @group
  17. @mode
Collapse this list.
Dependency lines:
  • tumgreyspf>0:mail/tumgreyspf
To install the port:
cd /usr/ports/mail/tumgreyspf/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/tumgreyspf
  • pkg install tumgreyspf
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: tumgreyspf
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (tumgreyspf-1.38.tar.gz) = bffec3f197e5a8cb009abd568b81e04f9316ded75a1e6007284282f1487993c8 SIZE (tumgreyspf-1.38.tar.gz) = 30751

Packages (timestamps in pop-ups are UTC):
tumgreyspf
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.38_31.38_31.38_31.38_31.38_3-1.38_3-
FreeBSD:13:quarterly1.38_31.38_31.38_31.38_31.38_3-1.38_31.38_3
FreeBSD:14:latest1.38_31.38_31.38_31.38_31.38_31.38_3-1.38_3
FreeBSD:14:quarterly1.38_31.38_3-1.38_31.38_3-1.38_31.38_3
FreeBSD:15:latest1.38_31.38_3n/a1.38_3n/a-1.38_3-
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-pyspf>=0 : mail/py-pyspf@py39
  2. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for tumgreyspf-1.38_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
mail_tumgreyspf
USES:
python shebangfix
pkg-message:
For install:
# # To configure Postfix # Add to your postfix master.cf: tumgreyspf unix - n n - - spawn user=nobody argv=/usr/local/bin/python3.9 /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.
Master Sites:
Expand this list (6 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/sunpoet/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/sunpoet/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/sunpoet/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/sunpoet/
  5. http://ftp.tummy.com/pub/tummy/tumgreyspf/
  6. http://ftp.tummy.com/pub/tummy/tumgreyspf/old-releases/
Collapse this list.

Number of commits found: 43

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.38_3
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.38_3
20 Jul 2022 14:22:19
commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332commit hash: b587cc2b4da727288248ce5c15129046e6e6b332 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
mail: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ashish@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam David <adam@FreeBSD.org>
  *  Adam McDougall <mcdouga9@egr.msu.edu>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alex Deiter <tiamat@komi.mts.ru>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alex Perel <veers@disturbed.net>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.38_3
18 Apr 2021 05:42:01
commit hash: 92e118dceab43da09e657ff2827b2d16948e8e18commit hash: 92e118dceab43da09e657ff2827b2d16948e8e18commit hash: 92e118dceab43da09e657ff2827b2d16948e8e18commit hash: 92e118dceab43da09e657ff2827b2d16948e8e18 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
mail/tumgreyspf: Cosmetic change
1.38_3
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.38_3
13 Aug 2019 22:29:43
Revision:508882Original commit files touched by this commit
mat search for other commits by this committer
onvert to UCL & cleanup pkg-message (categories l-m)
1.38_3
10 Apr 2019 06:18:32
Revision:498530Original commit files touched by this commit
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
1.38_2
01 Jan 2019 20:31:43
Revision:488948Original commit files touched by this commit
sunpoet search for other commits by this committer
Update MASTER_SITES and WWW
1.38_2
22 May 2018 13:15:13
Revision:470610Original commit files touched by this commit
mat search for other commits by this committer
Add PY_FLAVOR to Python module dependencies.

Sponsored by:	Absolight
1.38_2
19 May 2016 11:09:14
Revision:415503Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
1.38_2
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
1.38_2
18 Jan 2016 21:43:31
Revision:406612Original commit files touched by this commit
olgeni search for other commits by this committer
Fix a couple of typos.
1.38_2
29 Dec 2015 19:10:14
Revision:404781Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE_FILE
- Add NO_ARCH
- Update WWW
1.38_2
29 Dec 2015 19:03:25
Revision:404778Original commit files touched by this commit
sunpoet search for other commits by this committer
- Move mail/py-spf to mail/py-pyspf
- Update MASTER_SITES: change from SF to CHEESESHOP
- Update RUN_DEPENDS: always use dns/py-py3dns
- Bump PORTREVISION for dependency change
- Bump PORTREVISION for dependent ports
1.38_1
19 Oct 2015 14:50:52
Revision:399684Original commit files touched by this commit
amdmi3 search for other commits by this committer
Improve shebangfix framework

- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
1.38_1
29 Jul 2015 22:09:55
Revision:393196Original commit files touched by this commit
antoine search for other commits by this committer
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
1.38_1
04 Dec 2014 15:09:49
Revision:373941Original commit files touched by this commit
sunpoet search for other commits by this committer
- Modernize using new keywords (@dir and @sample)
- Cleanup PLIST
- Bump PORTREVISION for package change
1.38
15 Aug 2014 03:01:31
Revision:364906Original commit files touched by this commit
sunpoet search for other commits by this committer
- Use USES=python
1.38
08 Jun 2014 13:24:30
Revision:357027Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.38
- Relax USE_PYTHON
- Remove .include <bsd.port.options.mk>

Changes:	https://github.com/linsomniac/tumgreyspf/blob/master/WHATSNEW
1.37
13 Jan 2014 21:00:04
Revision:339634Original commit files touched by this commit
rene search for other commits by this committer
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
1.37
05 Dec 2013 20:26:36
Revision:335694Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE
- Remove unnecessary SHEBANG_LANG
- Support STAGEDIR
- Reformat pkg-descr
1.37
20 Sep 2013 19:59:14
Revision:327742Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail)
1.37
19 Aug 2013 08:40:56
Revision:324957Original commit files touched by this commit
sunpoet search for other commits by this committer
- Use USES=shebangfix
1.37
18 Aug 2013 07:00:29
Revision:324888Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.37
- Use REINPLACE_CMD instead of patch files
- Restrict USE_PYTHON to 2.x
- Convert to new options framework
- Cleanup Makefile header
- Cosmetic change

Changes:	https://github.com/linsomniac/tumgreyspf/blob/master/WHATSNEW
1.36
01 Feb 2012 20:20:31
Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 1.36
- Add my LOCAL as MASTER_SITES
- Take maintainership

Changes:        https://github.com/linsomniac/tumgreyspf/blob/master/WHATSNEW
1.35
01 Feb 2012 15:53:08
Original commit files touched by this commit
tabthorpe search for other commits by this committer
- Reassign to the heap
1.35
03 Jul 2011 13:53:52
Original commit files touched by this commit
ohauer search for other commits by this committer
- remove MD5
1.35
11 Oct 2009 02:30:40
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.35

PR:             139478
Submitted by:   Li-Wen Hsu <lwhsu___FreeBSD.org>
1.33
25 Apr 2009 19:39:48
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.33
1.32
13 Apr 2008 19:38:18
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.32
- Now tumgreyspf only support mail/py-spf
1.24
06 Apr 2007 03:46:56
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.24
1.22
10 Sep 2006 02:30:47
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.22
1.20
13 Aug 2006 21:55:26
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.20
- Add OPTIONS to select spf resolver
1.19
14 Jun 2006 01:12:51
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.19
1.17
29 Mar 2006 15:42:10
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.17
1.16
25 Feb 2006 18:27:05
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.16
- Add old-releases dir in master sites, preventing unfetchable file when have
new release.

Notified by:    kris
Approved by:    portmgr (krion)
1.15
22 Feb 2006 13:52:36
Original commit files touched by this commit
mnag search for other commits by this committer
- Update to 1.15
- portlint(1)
1.11_1
13 Dec 2005 12:45:02
Original commit files touched by this commit
mnag search for other commits by this committer
Install configuration files with INSTALL_DATA
Change "env python" to "env PYTHON_CMD" (users can run tumgreyspf directly in
master.cf argv) [1]
Bump PORTREVISION

Notified by:    Nelson Murilo [1]
1.11
09 Nov 2005 02:32:50
Original commit files touched by this commit
mnag search for other commits by this committer
Add SHA256
1.11
04 Oct 2005 17:47:04
Original commit files touched by this commit
mnag search for other commits by this committer
Update to 1.11

Approved by:    pav (mentor)
1.09
16 Sep 2005 17:58:32
Original commit files touched by this commit
mnag search for other commits by this committer
Update my email

Approved by: pav (mentor)
1.09
02 Sep 2005 18:54:56
Original commit files touched by this commit
garga search for other commits by this committer
- Fix pkg-message

PR:             ports/85664
Submitted by:   maintainer
1.09
02 Sep 2005 12:52:56
Original commit files touched by this commit
garga search for other commits by this committer
Add tumgreyspf 1.09, external policy checker for the postfix mail
server.

PR:             ports/85587
Submitted by:   Marcus Grando <marcus@corp.grupos.com.br>

Number of commits found: 43