Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 189FA84CF4 for ; Mon, 28 Aug 2023 18:08:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id qgtKC6W5dNJk for ; Mon, 28 Aug 2023 18:08:42 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8694A84CD9 for ; Mon, 28 Aug 2023 18:08:42 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7A88AFBDB; Mon, 28 Aug 2023 18:08:42 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1693246122147680" MIME-Version: 1.0 Date: Mon, 28 Aug 2023 18:08:42 +0000 From: "Paolo Vincenzo Olivo" Subject: CVS commit: pkgsrc/mail/opensmtpd-filter-rspamd To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: vins@netbsd.org X-Mailer: log_accum Message-Id: <20230828180842.7A88AFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1693246122147680 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: vins Date: Mon Aug 28 18:08:42 UTC 2023 Modified Files: pkgsrc/mail/opensmtpd-filter-rspamd: Makefile pkgsrc/mail/opensmtpd-filter-rspamd/files: README.rspamd Log Message: opensmtpd-filter-rspamd: improve README. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/opensmtpd-filter-rspamd/Makefile cvs rdiff -u -r1.1 -r1.2 \ pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1693246122147680 Content-Disposition: inline Content-Length: 1933 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mail/opensmtpd-filter-rspamd/Makefile diff -u pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.1 pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.2 --- pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.1 Mon Aug 28 16:26:10 2023 +++ pkgsrc/mail/opensmtpd-filter-rspamd/Makefile Mon Aug 28 18:08:42 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2023/08/28 16:26:10 vins Exp $ +# $NetBSD: Makefile,v 1.2 2023/08/28 18:08:42 vins Exp $ DISTNAME= filter-rspamd-0.1.8 PKGNAME= ${DISTNAME:S|^|opensmtpd-|} @@ -15,11 +15,11 @@ LICENSE= isc DEPENDS+= opensmtpd-[0-9]*:../../mail/opensmtpd DEPENDS+= rspamd-[0-9]*:../../mail/rspamd -SUBST_CLASSES+= conf -SUBST_STAGE.conf= pre-configure -SUBST_FILES.conf= README.rspamd -SUBST_VARS.conf= PKG_SYSCONFDIR -SUBST_MESSAGE.conf= Replacing pkgsrc placeholders. +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= pre-configure +SUBST_FILES.prefix= README.rspamd +SUBST_VARS.prefix= PKG_SYSCONFDIR PREFIX +SUBST_MESSAGE.prefix= Replacing pkgsrc placeholders. GOPATH= ${WRKDIR}/.gopath Index: pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd diff -u pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.1 pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.2 --- pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.1 Mon Aug 28 16:26:10 2023 +++ pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd Mon Aug 28 18:08:42 2023 @@ -7,12 +7,13 @@ configuration. Edit the @PKG_SYSCONFDIR@/smtpd/smtpd.conf file to declare the filter: - filter "rspamd" proc-exec "filter-rspamd" + filter "rspamd" \ + proc-exec "@PREFIX@/libexec/opensmtpd/filter-rspamd" Then add the filter to each listener that should be filtered: listen on socket filter "rspamd" - listen on all filter "rspamd" + listen on $ipv4 [...] filter "rspamd" The filter itself doesn't have a configuration and depends upon the Rspamd daemon configuration. --_----------=_1693246122147680--