Port details on branch 2022Q2 |
- tumgreyspf External policy checker for the postfix mail server
- 1.38_3 mail =2 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: 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
- ¦ ¦ ¦ ¦
- 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.9 : lang/python39
- Runtime dependencies:
-
- py39-pyspf>=0 : mail/py-pyspf@py39
- 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:
|