diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-01-18 16:18:51 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-01-18 16:18:51 +0000 |
commit | 0b19a2f095b8738aeda4f4c0a55e6c3432caa134 (patch) | |
tree | c97c46c4a9c057df54d14cd7caa05927f07dd6e9 | |
parent | graphics/silgraphite: mark broken on current (diff) |
mail/opensmtpd-filter-senderscore: New port
This opensmtpd filter allow to use the senderscore reputation
score to block or slowdown a session based on the IP address.
Notes
Notes:
svn path=/head/; revision=523423
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/opensmtpd-filter-senderscore/Makefile | 27 | ||||
-rw-r--r-- | mail/opensmtpd-filter-senderscore/distinfo | 3 | ||||
-rw-r--r-- | mail/opensmtpd-filter-senderscore/pkg-descr | 4 |
4 files changed, 35 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index f55366da2791..eaabd538f69b 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -285,6 +285,7 @@ SUBDIR += opensmtpd-extras-table-socketmap SUBDIR += opensmtpd-extras-table-sqlite SUBDIR += opensmtpd-filter-rspamd + SUBDIR += opensmtpd-filter-senderscore SUBDIR += openwebmail SUBDIR += osbf-lua SUBDIR += ovs diff --git a/mail/opensmtpd-filter-senderscore/Makefile b/mail/opensmtpd-filter-senderscore/Makefile new file mode 100644 index 000000000000..81ce6746cf37 --- /dev/null +++ b/mail/opensmtpd-filter-senderscore/Makefile @@ -0,0 +1,27 @@ +# Created by: Emmanuel Vadot <manu@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= opensmtpd-filter-senderscore +PORTVERSION= 0.1.1 +CATEGORIES= mail + +MAINTAINER= manu@FreeBSD.Org +COMMENT= OpenSMTPD filter integration for the senderscore reputation + +LICENSE= ISCL + +RUN_DEPENDS= opensmtpd>=6.6.0:mail/opensmtpd + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= poolpOrg +GH_PROJECT= filter-senderscore + +PLIST_FILES= libexec/opensmtpd/opensmtpd-filter-senderscore + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/opensmtpd/ + ${INSTALL_PROGRAM} ${WRKDIR}/bin/opensmtpd-filter-senderscore ${STAGEDIR}${PREFIX}/libexec/opensmtpd/ + +.include <bsd.port.mk> diff --git a/mail/opensmtpd-filter-senderscore/distinfo b/mail/opensmtpd-filter-senderscore/distinfo new file mode 100644 index 000000000000..46447b3c760b --- /dev/null +++ b/mail/opensmtpd-filter-senderscore/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1579363858 +SHA256 (poolpOrg-filter-senderscore-0.1.1_GH0.tar.gz) = de23c4ce9d44f239ff2e1f24bfcee1a30955729f028ea37a0b3857041a1e175f +SIZE (poolpOrg-filter-senderscore-0.1.1_GH0.tar.gz) = 3909 diff --git a/mail/opensmtpd-filter-senderscore/pkg-descr b/mail/opensmtpd-filter-senderscore/pkg-descr new file mode 100644 index 000000000000..2367bcf2c948 --- /dev/null +++ b/mail/opensmtpd-filter-senderscore/pkg-descr @@ -0,0 +1,4 @@ +This filter performs a SenderScore lookup and allows OpenSMTPD to either +block or slow down a session based on the reputation of the source IP address. + +WWW: https://github.com/poolpOrg/filter-senderscore |