Port details |
- tumgreyspf External policy checker for the postfix mail server
- 1.38_3 mail =4 1.38_3Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2005-09-02 12:53:48
- Last Update: 2024-07-18 16:45:04
- Commit Hash: 077a679
- People watching this port, also watch:: postfix-current, openssl, e2fsprogs, fusefs-sshfs, wine
- License: GPLv2
- WWW:
- https://www.tummy.com/software/tumgreyspf/
- https://github.com/linsomniac/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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pyspf>=0 : mail/py-pyspf@py311
- python3.11 : lang/python311
- 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.11 /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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.38_3 18 Jul 2024 16:45:04 |
Po-Chuan Hsieh (sunpoet) |
mail/tumgreyspf: Update WWW and clean up pkg-descr |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
1.38_3 20 Jul 2022 14:22:19 |
Tobias C. Berner (tcberner) |
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 ) |
1.38_3 18 Apr 2021 05:42:01 |
Po-Chuan Hsieh (sunpoet) |
mail/tumgreyspf: Cosmetic change |
1.38_3 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.38_3 13 Aug 2019 22:29:43 |
mat |
onvert to UCL & cleanup pkg-message (categories l-m) |
1.38_3 10 Apr 2019 06:18:32 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
1.38_2 01 Jan 2019 20:31:43 |
sunpoet |
Update MASTER_SITES and WWW |
1.38_2 22 May 2018 13:15:13 |
mat |
Add PY_FLAVOR to Python module dependencies.
Sponsored by: Absolight |
1.38_2 19 May 2016 11:09:14 |
amdmi3 |
- Fix trailing whitespace in pkg-messages
Approved by: portmgr blanket |
1.38_2 01 Apr 2016 14:16:20 |
mat |
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 |
olgeni |
Fix a couple of typos. |
1.38_2 29 Dec 2015 19:10:14 |
sunpoet |
- Add LICENSE_FILE
- Add NO_ARCH
- Update WWW |
1.38_2 29 Dec 2015 19:03:25 |
sunpoet |
- 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 |
amdmi3 |
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 |
antoine |
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 |
sunpoet |
- Modernize using new keywords (@dir and @sample)
- Cleanup PLIST
- Bump PORTREVISION for package change |
1.38 15 Aug 2014 03:01:31 |
sunpoet |
- Use USES=python |
1.38 08 Jun 2014 13:24:30 |
sunpoet |
- 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 |
rene |
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 |
sunpoet |
- Add LICENSE
- Remove unnecessary SHEBANG_LANG
- Support STAGEDIR
- Reformat pkg-descr |
1.37 20 Sep 2013 19:59:14 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
mail) |
1.37 19 Aug 2013 08:40:56 |
sunpoet |
- Use USES=shebangfix |
1.37 18 Aug 2013 07:00:29 |
sunpoet |
- 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 |
sunpoet |
- 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 |
tabthorpe |
- Reassign to the heap |
1.35 03 Jul 2011 13:53:52 |
ohauer |
- remove MD5 |
1.35 11 Oct 2009 02:30:40 |
mnag |
- Update to 1.35
PR: 139478
Submitted by: Li-Wen Hsu <lwhsu___FreeBSD.org> |
1.33 25 Apr 2009 19:39:48 |
mnag |
- Update to 1.33 |
1.32 13 Apr 2008 19:38:18 |
mnag |
- Update to 1.32
- Now tumgreyspf only support mail/py-spf |
1.24 06 Apr 2007 03:46:56 |
mnag |
- Update to 1.24 |
1.22 10 Sep 2006 02:30:47 |
mnag |
- Update to 1.22 |
1.20 13 Aug 2006 21:55:26 |
mnag |
- Update to 1.20
- Add OPTIONS to select spf resolver |
1.19 14 Jun 2006 01:12:51 |
mnag |
- Update to 1.19 |
1.17 29 Mar 2006 15:42:10 |
mnag |
- Update to 1.17 |
1.16 25 Feb 2006 18:27:05 |
mnag |
- 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 |
mnag |
- Update to 1.15
- portlint(1) |
1.11_1 13 Dec 2005 12:45:02 |
mnag |
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 |
mnag |
Add SHA256 |
1.11 04 Oct 2005 17:47:04 |
mnag |
Update to 1.11
Approved by: pav (mentor) |
1.09 16 Sep 2005 17:58:32 |
mnag |
Update my email
Approved by: pav (mentor) |
1.09 02 Sep 2005 18:54:56 |
garga |
- Fix pkg-message
PR: ports/85664
Submitted by: maintainer |
1.09 02 Sep 2005 12:52:56 |
garga |
Add tumgreyspf 1.09, external policy checker for the postfix mail
server.
PR: ports/85587
Submitted by: Marcus Grando <marcus@corp.grupos.com.br> |