From 70264ea69716b4516a9646142c81c7b43901cbfd Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Sat, 18 Jan 2020 16:17:30 +0000 Subject: mail/opensmtpd-filter-rspamd: New Port This filter can talk to rspamd and do spam filtering, dkim signing etc ... --- mail/opensmtpd-filter-rspamd/Makefile | 28 ++++++++++++++++++++++++++++ mail/opensmtpd-filter-rspamd/distinfo | 3 +++ mail/opensmtpd-filter-rspamd/pkg-descr | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 mail/opensmtpd-filter-rspamd/Makefile create mode 100644 mail/opensmtpd-filter-rspamd/distinfo create mode 100644 mail/opensmtpd-filter-rspamd/pkg-descr (limited to 'mail/opensmtpd-filter-rspamd') diff --git a/mail/opensmtpd-filter-rspamd/Makefile b/mail/opensmtpd-filter-rspamd/Makefile new file mode 100644 index 000000000000..48c3f8bcf0b0 --- /dev/null +++ b/mail/opensmtpd-filter-rspamd/Makefile @@ -0,0 +1,28 @@ +# Created by: Emmanuel Vadot +# $FreeBSD$ + +PORTNAME= opensmtpd-filter-rspamd +PORTVERSION= 0.1.5 +CATEGORIES= mail + +MAINTAINER= manu@FreeBSD.Org +COMMENT= OpenSMTPD filter integration for the Rspamd daemon + +LICENSE= ISCL + +RUN_DEPENDS= opensmtpd>=6.6.0:mail/opensmtpd \ + rspamd>=0:mail/rspamd + +USES= go + +USE_GITHUB= yes +GH_ACCOUNT= poolpOrg +GH_PROJECT= filter-rspamd + +PLIST_FILES= libexec/opensmtpd/opensmtpd-filter-rspamd + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/opensmtpd/ + ${INSTALL_PROGRAM} ${WRKDIR}/bin/opensmtpd-filter-rspamd ${STAGEDIR}${PREFIX}/libexec/opensmtpd/ + +.include diff --git a/mail/opensmtpd-filter-rspamd/distinfo b/mail/opensmtpd-filter-rspamd/distinfo new file mode 100644 index 000000000000..055252a753ec --- /dev/null +++ b/mail/opensmtpd-filter-rspamd/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1579362884 +SHA256 (poolpOrg-filter-rspamd-0.1.5_GH0.tar.gz) = adb781be19952718bb240bea3d6368a71f0ecf22cb14f647ba99330035c20621 +SIZE (poolpOrg-filter-rspamd-0.1.5_GH0.tar.gz) = 5314 diff --git a/mail/opensmtpd-filter-rspamd/pkg-descr b/mail/opensmtpd-filter-rspamd/pkg-descr new file mode 100644 index 000000000000..3c26d015d408 --- /dev/null +++ b/mail/opensmtpd-filter-rspamd/pkg-descr @@ -0,0 +1,4 @@ +This filter implements the Rspamd protocol and allows OpenSMTPD to request an +Rspamd analysis of an SMTP transaction before a message is committed to queue. + +WWW: https://github.com/poolpOrg/filter-rspamd -- cgit v1.2.3