import mail/opensmtpd-filter-rspamd, an rspamd integration for OpenSMTPD
ok landry@ and kn@
This commit is contained in:
parent
aa8caf12a3
commit
cf636aa7fd
25
mail/opensmtpd-filter-rspamd/Makefile
Normal file
25
mail/opensmtpd-filter-rspamd/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2019/08/13 18:40:10 gilles Exp $
|
||||
|
||||
COMMENT = rspamd integration to the OpenSMTPD daemon
|
||||
|
||||
V = 0.1.0
|
||||
DISTNAME = filter-rspamd-${V}
|
||||
|
||||
CATEGORIES = mail
|
||||
HOMEPAGE = https://github.com/poolpOrg/filter-rspamd/
|
||||
|
||||
MAINTAINER = Gilles Chehade <gilles@poolp.org>
|
||||
|
||||
MASTER_SITES = https://github.com/poolpOrg/filter-rspamd/releases/download/${V}/
|
||||
|
||||
# ISC
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = c pthread
|
||||
MODULES = lang/go
|
||||
MODGO_TYPE = bin
|
||||
NO_TEST = Yes
|
||||
|
||||
ALL_TARGET = filter-rspamd
|
||||
|
||||
.include <bsd.port.mk>
|
2
mail/opensmtpd-filter-rspamd/distinfo
Normal file
2
mail/opensmtpd-filter-rspamd/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (filter-rspamd-0.1.0.tar.gz) = AXrtaCqiZmIDGgzxWni8VQEFteRACDsoD6F7odXuU+c=
|
||||
SIZE (filter-rspamd-0.1.0.tar.gz) = 3397
|
2
mail/opensmtpd-filter-rspamd/pkg/DESCR
Normal file
2
mail/opensmtpd-filter-rspamd/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
filter-rspamd is an opensmtpd filter that passes mail through
|
||||
rspamd to flag or reject spam messages at session time.
|
3
mail/opensmtpd-filter-rspamd/pkg/PLIST
Normal file
3
mail/opensmtpd-filter-rspamd/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/08/13 18:40:10 gilles Exp $
|
||||
@bin bin/filter-rspamd
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
18
mail/opensmtpd-filter-rspamd/pkg/README
Normal file
18
mail/opensmtpd-filter-rspamd/pkg/README
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: README,v 1.1.1.1 2019/08/13 18:40:10 gilles Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
To use filter-rspamd, you must declare it in smtpd.
|
||||
|
||||
Edit the /etc/mail/smtpd.conf file to declare the filter:
|
||||
|
||||
filter "rspamd" proc-exec "${PREFIX}/bin/filter-rspamd"
|
||||
|
||||
Then add the filter to each listener that should be filtered:
|
||||
|
||||
listen on socket filter "rspamd" listen on all filter "rspamd"
|
||||
|
||||
The filter itself doesn't have configuration and is controlled by
|
||||
the Rspamd configuration itself.
|
Loading…
x
Reference in New Issue
Block a user