Bug#1089557: marked as done (spamscan-sa report spamassassin error due to gSpamRulesDir)

"Debian Bug Tracking System" <[email protected]> Sat, 21 Dec 2024 17:24:02 +0000
Newsgroups gmane.linux.debian.devel.debbugs
Message-ID <handler.1089557.D1089557.17348016891281489.ackdone@bugs.debian.org>
This is a multi-part message in MIME format...

------------=_1734801842-1283529-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 21 Dec 2024 17:21:26 +0000
with message-id <[email protected]>
and subject line Bug#1089557: fixed in debbugs 2.6.3
has caused the Debian Bug report #1089557,
regarding spamscan-sa report spamassassin error due to gSpamRulesDir
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
1089557: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1089557
Debian Bug Tracking System
Contact [email protected] with problems

------------=_1734801842-1283529-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 8 Dec 2024 22:29:02 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.8 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,FROMDEVELOPER,HAS_PACKAGE,
	HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 35; hammy, 95; neutral, 39; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*RU:sk:Bill.Al,
	0.000-+--H*rp:U*Bill.Allombert, 0.000-+--HX-Reportbug-Version:12.0.0,
	0.000-+--H*F:U*ballombe, 0.000-+--Hx-spam-relays-external:sk:Bill.Al
Return-path: <[email protected]>
Received: from podman-shm1.math.u-bordeaux1.fr ([147.210.21.11]:43546)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tKPlu-00BYcb-4C
	for [email protected]; Sun, 08 Dec 2024 22:29:02 +0000
Received: from smtp-in.math.u-bordeaux.fr (host.containers.internal [147.210.21.11])
	by podman-shm1.math.u-bordeaux1.fr (Postfix) with ESMTPS id C14F551B9F;
	Sun,  8 Dec 2024 23:28:56 +0100 (CET)
Received: from pari.math.u-bordeaux.fr (pari.math.u-bordeaux1.fr [147.210.21.130])
	by smtp-in.math.u-bordeaux.fr (Postfix) with ESMTPS id B3FD551B9C;
	Sun,  8 Dec 2024 23:28:56 +0100 (CET)
Received: from bill by pari.math.u-bordeaux.fr with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1tKPlo-003VMS-21;
	Sun, 08 Dec 2024 23:28:56 +0100
Date: Sun, 8 Dec 2024 23:28:56 +0100
From: Bill Allombert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: spamscan-sa report spamassassin error due to gSpamRulesDir
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 12.0.0
Delivered-To: [email protected]

Package: debbugs
Version: 2.6.2
Severity: normal

Hello Don,
This is not a new issue even while I report it now:
spamscan is calling spamscan-sa and this leads to error message from cron:

Timeout::_run: check: no loaded plugin implements 'check_main': cannot scan!
Check that the necessary '.pre' files are in the config directory.
At a minimum, v320.pre loads the Check plugin which is required.

the issue is with these two lines:

36       site_rules_filename => $config{spam_rules_dir},
37        userprefs_filename => $config{spam_user_prefs},

$config{spam_rules_dir} is set by Debbugs::config to /usr/share/spamassassin
I do not think this is correct, it should be /etc/spamassassin
(that is where v320.pre is).

Also I tried to set $gSpamRulesDir in /etc/debbugs/config but it does not works

$gSpamRulesDir = "/etc/spamassassin";

probably because it is missing from the 'globals' EXPORT_TAGS in 
Debbugs/Config.pm

Does that makes sense ?

Cheers,
Bill.

------------=_1734801842-1283529-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1089557-close) by bugs.debian.org; 21 Dec 2024 17:21:29 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
	PGPSIGNATURE,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
	USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 260; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--Hx-spam-relays-external:sk:fasolo., 0.000-+--H*r:sk:fasolo.
Return-path: <[email protected]>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:53946)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mailly.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tP3AP-005NMn-DE
	for [email protected]; Sat, 21 Dec 2024 17:21:29 +0000
Received: from [192.91.235.231] (port=49584 helo=fasolo.debian.org)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,[email protected] (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tP3AN-00DjhA-Py
	for [email protected]; Sat, 21 Dec 2024 17:21:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=5YRvWrKwX+xZV4aP1LvRO4c7gp3XnRpWsMOGviWh+YA=; b=P4qrhdJ7Bg9UcILyu7v8tyUXxt
	Jsccl/Me/nMmFYKFjCgFa1w+vRnzYRPB8Wt3AHay/f6YVK4D9UTzT5/5ljppDU3LmrsfAJXxghrFu
	9owAu8jAN6WzEG8dJ8UGjoOekKdn8fZOg0s5Hb1Yl1T3kkaU+dVjBc4kF/9nVE8i9zyyNGXcm5Lcr
	FtXb3oB8Z7+A190riUpXNqYhoXTt/92TqUcrR+XQKum/I9G4KBsirLw98uwvV+V/uUaizzTJyyF5P
	6qcNmTOgZ2yIHdVSZyYmcg9cb3vA3sNAVwp/LytI+9jNcYkwILE9L9tD/ct7JNGCSCVvkjFTnFo6t
	f2sgq0Kg==;
Received: from dak by fasolo.debian.org with local (Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1tP3AM-00A07o-Gf; Sat, 21 Dec 2024 17:21:26 +0000
From: Debian FTP Masters <[email protected]>
Reply-To: Bill Allombert <[email protected]>
To: [email protected]
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: debbugs
Debian: DAK
Debian-Changes: debbugs_2.6.3_source.changes
Debian-Source: debbugs
Debian-Version: 2.6.3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1089557: fixed in debbugs 2.6.3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============6591661136057609728=="
Message-Id: <[email protected]>
Date: Sat, 21 Dec 2024 17:21:26 +0000

--===============6591661136057609728==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: debbugs
Source-Version: 2.6.3
Done: Bill Allombert <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debbugs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bill Allombert <[email protected]> (supplier of updated debbugs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Dec 2024 11:35:39 +0100
Source: debbugs
Architecture: source
Version: 2.6.3
Distribution: unstable
Urgency: medium
Maintainer: Debbugs developers <[email protected]>
Changed-By: Bill Allombert <[email protected]>
Closes: 607928 615483 644242 1089557
Changes:
 debbugs (2.6.3) unstable; urgency=3Dmedium
 .
   [ Bill Allombert ]
   * Debbugs/Config.pm: (closes: #1089557)
     - Fix spam_rules_dir default to /etc/spamassassin
     - add $gSpamRulesDir to 'globals' export list.
   * debian/control:
     - debbugs-local: Depends on libipc-run-perl. (closes: #607928)
 .
   [ Mark Hindley ]
   * migrate/debbugs-upgradestatus:
     - fix correct error about missing optionnal fields. (closes: #644242)
 .
   [ Tollef Fog Heen ]
   * Debbugs/Log.pm, ./scripts/expire:
     - Fix spelling of Colin Watson's name in copyright notice
       (closes: #615483)
Checksums-Sha1:
 22c724fe0094afbc9f6f76a0551b6338566d5c58 2397 debbugs_2.6.3.dsc
 e2fef55cbec363c772285678926c1cf08dc035c5 255176 debbugs_2.6.3.tar.xz
 b76b5fcafa633ebdfb1b448a8ff089e5d233f20f 5806 debbugs_2.6.3_source.buildinfo
Checksums-Sha256:
 98176467386950bcd5f79d4b17e710f7aeaf381453ffc0aab876f265df830092 2397 debbug=
s_2.6.3.dsc
 569c6e53a96f1b7b9feb911ffd5aa905c077fa46412e2033bb0ff10da07ca57e 255176 debb=
ugs_2.6.3.tar.xz
 c7da6ab699df8387800affefa3cc5edd59e104cc0a2df208600c065df7c7c84b 5806 debbug=
s_2.6.3_source.buildinfo
Files:
 640855353a20939a9340abe7f18f57d3 2397 misc optional debbugs_2.6.3.dsc
 37e5c74069e053c19f033eeded24e576 255176 misc optional debbugs_2.6.3.tar.xz
 a45e73022a98d513e6e18bb3a48a65f8 5806 misc optional debbugs_2.6.3_source.bui=
ldinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmdm87QACgkQjw58K0Ui
44dDRg//VNLFxpDLPwyURJHLQWNcAHva6ocj5JpibhjnJHvAG79S2apqBQuh10ZX
6Q/U0pRGGKu4vtBRQ81EpKFxTszV+n0EJJjq8iEeX9n1sn1Qzgst6u1OMlSl+XNk
zM1DRMuOtidj47AIuZCMsPudQ62l1QG8eNY6Ot3dNj6jhcF3aL6JC8dTBRJMpfuz
jQnDVMUR4v7wGurUgxb44wLLONSdG7P39bXW9kVYf8NY7zZrnTlEW/ydYAQd7gf8
CdLEgksBuHMGPB5G3a5FVmT+comFctUK6phARRSFQ0P3YOvQDa7qAZHDZ0TFJl0l
RCm++5hJ8IlwojrQLKOtF+Jyh5VRZeSCSZo3yCP+PLIkl/uXVI/IN907/HN/nhUo
Ppe+jQ+ywvceJAlck/F3P/6/dlU03wHWNjKVnrXaG+lhhL1nUMAkcj5eA3ovQjjy
Mn6x7hrrIZXQ0a5sIVDf0meH2AY/65Pa0KlmxO1D4qZQi6wLNmIYZ8qdVxfzDTzz
fj48UEWBfvDnaP5hxiFzaU8jJnVzg9Rd39Hp/MPGQbBOUNA+kYlShHqmbj4oXwdx
ASGbERDvDkMNbIXxOgDBOXGBZtP2McmauMZ1m5iRny0ZmQxdM+/zBj1iruQd5L42
wyl59vCF9PAs3XCew3zLty6niD1lQb0xdr+GUxSArTItyDNRm5E=3D
=3DHuq/
-----END PGP SIGNATURE-----


--===============6591661136057609728==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCZ2b5FgAKCRCb9qggYcy5
IaBJAP0fd+qhuk0cPYusdry2O2u/di91lD6nET3cPm3mvWgoPgD/bKEoZ5W6quYt
5SqLsBtj5GBcQEtCdJ6RYJLB08GHNwA=
=0RQj
-----END PGP SIGNATURE-----

--===============6591661136057609728==--
------------=_1734801842-1283529-0--