From nobody Sat May 04 20:48:46 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VX0C76M8Cz5JZPt for ; Sat, 4 May 2024 20:49:07 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.41.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4VX0C74HWNz4MXG for ; Sat, 4 May 2024 20:49:07 +0000 (UTC) (envelope-from trashcan@ellael.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [185.238.219.14]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 4VX0C01lGdzlFW; Sat, 04 May 2024 22:49:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellael.org; s=dkim; t=1714855740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5jIIX2usuIHQowOb7SINLRZu+G6qYilla3ICgH7wH7Q=; b=yuvm4OE/lIH8duERmB5aHGo6qO6+nLmF3t7k+DQmSXMTDPleZmVj93H5MzXh3SMHfe44In 9WY1VnzOC2QckA4dMa2WHs3DcLhyQylANpE95dLqevdRDY/Gux+YlK+QKQBd7QLsicIK5l gkRgIY1QNtbCcSuojdn11iPbl1XXX3V/G4zVgB28rnV0vO6TUMzMv7uDITyOmzU6LpL04j BtYrdPwFIO+3y1Rh6xa2GFWlPdMo9X8UOCn7n8YQPeaP8+hBcJySB2KWcebVecLVhghOLb ZPa5UM42Wyc3EcrnOQnuaPKP4Y2xFTSZfjsTHfo8ZulF5ysOZIcJYJBIaMROWg== Content-Type: text/plain; charset=utf-8 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: Alternative to SpamAssassin's sa-update tool? From: Michael Grimm In-Reply-To: Date: Sat, 4 May 2024 22:48:46 +0200 Cc: Dan Langille Content-Transfer-Encoding: quoted-printable Message-Id: References: <85AE51A5-5B04-4CE9-9E7B-821BAA42321C@ellael.org> To: Freebsd Questions X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR] X-Rspamd-Queue-Id: 4VX0C74HWNz4MXG Dan Langille wrote: > On Sat, Apr 27, 2024, at 2:52 PM, Michael Grimm wrote: >> I am using 'sa-update' for updating both frequently adapted rulesets. >> Working fine. >>=20 >> But, in order to be able to use that tool, I do have to install=20 >> 'mail/spamassassin'. >=20 > What is the concern regarding installation? Perhaps if we know that, = we can > better help. See below. > I'll start by guessing size of the package and dependencies. The = script > itself is about 2300 lines. Bingo. It is, from my point of view, too much overhead for just = downloading some rulesets, again, downloading only. > What you could try: install, copy /usr/local/bin/sa-update away = somewhere else, > delete the package, see if the script still runs. Repeat until you = know the > files require to run. Been there, done that, but too many Perl modules to load, from my point = of view. I was hoping for a simple shell script to do so ... > If you report back that it's just a handful of files (out of the ~ 270 = files > installed), it might be feasible to create a new port / flavor for = just > sa-update. =E2=80=A6 but that might be the way to go. I will investigate. Regards, Michael