Rocksolid Light

Syber Shock

mail  files  register  nodelist  groups  login

Message-ID:  

MOTD


rocksolid / Rocksolid Nodes Help / Re: How does rslight work with spamassassin?

SubjectAuthor
* Re: How does rslight work with spamassassin?SugarBug
`* Re: How does rslight work with spamassassin?Retro Guy
 `- Re: How does rslight work with spamassassin?SugarBug

1
Subject: Re: How does rslight work with spamassassin?
From: SugarBug
Newsgroups: rocksolid.nodes.help
Organization: To protect and to server
Date: Thu, 21 Dec 2023 12:28 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: 388...@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: Re: How does rslight work with spamassassin?
Date: Thu, 21 Dec 2023 06:28:58 -0600
Organization: To protect and to server
Message-ID: <um1avp$qt72$2@paganini.bofh.team>
References: <uluu01$mi8d$1@paganini.bofh.team>
<1a8f06b429babaf01ad2875184a92755$1@news.novabbs.org>
<ulvmo7$o6rc$1@paganini.bofh.team>
<010e43fe9d15135071be38ca2fd17ca6$1@news.novabbs.org>
<ulvqn3$o6rc$2@paganini.bofh.team>
<ulvrl2$h5kb$1@i2pn2.org>
<ulvrvv$oh6b$1@paganini.bofh.team>
<ulvt04$h5kb$2@i2pn2.org>
<ulvu0r$oh6b$2@paganini.bofh.team>
<ulvufe$h5kb$4@i2pn2.org>
<ulvup8$h5kb$5@i2pn2.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 12:27:38 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="881890"; posting-host="PucJEPotjJyynPGC85C0DQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:yzhRbPjQlLoV8sNqhnzfIxoGl984QfqIih9jJkoxmJ4=
X-Notice: Filtered by postfilter v. 0.9.3
View all headers

On Wed, 20 Dec 2023 23:53:13 -0000 (UTC)
Retro Guy <retroguy@i2pn2.org> wrote:

> On Wed, 20 Dec 2023 23:47:58 -0000 (UTC), Retro Guy wrote:
>
> > On Wed, 20 Dec 2023 17:41:28 -0600, SugarBug wrote:
> >
> >> On Wed, 20 Dec 2023 23:22:44 -0000 (UTC)
> >> Retro Guy <retroguy@i2pn2.org> wrote:
> >>
> >>> On Wed, 20 Dec 2023 17:06:53 -0600, SugarBug wrote:
> >>>
> >>> > On Wed, 20 Dec 2023 22:59:46 -0000 (UTC) Retro Guy
> >>> > <retroguy@i2pn2.org> wrote:
> >>> >
> >>> > <snip>
> >>> >
> >>> >> > Multiple times I deleted the entire spool, set overrides so
> >>> >> > they would pull only a few messages per run, and ran
> >>> >> > multiple times, and none of the spam is moved to spam.
> >>> >>
> >>> >> is rocksolid.spam in $config_dir/spoolnews/groups.txt ?
> >>> >
> >>> > spoolnews$ cat groups.txt rocksolid.spam
> >>> >
> >>> > spoolnews$ cat groups.txt.dist rocksolid.spam
> >>>
> >>> Not sure if it would be a problem, but is rocksolid.spam in more
> >>> than one section/groups.txt?
> >>>
> >>> I only ask because I see it on one of the sites you sent me a
> >>> link to.
> >>
> >> I added it in rocksolid/groups.txt so it would be visible.
> >
> > Try taking it out of one. So it is in only one section. It shouldn't
> > matter what section.
>
> Also, the code for checking spam is in post.inc.php:
>
> if ((isset($CONFIG['spamassassin']) && ($CONFIG['spamassassin']
> == true))) {
> $spam_result_array = check_spam($subject, $from, $newsgroups,
> $ref, $body, $msgid);
> $res = $spam_result_array['res'];
> $spamresult = $spam_result_array['spamresult'];
> $spamcheckerversion =
> $spam_result_array['spamcheckerversion']; $spamlevel =
> $spam_result_array['spamlevel']; $spam_fail =
> $spam_result_array['spam_fail']; }
>
> followed by:
>
> if ((isset($CONFIG['spamassassin']) &&
> ($CONFIG['spamassassin'] == true))) {
> if (isset($res) && $spam_fail == 0) {
> fputs($ns, $spamcheckerversion . "\r\n");
> if (strpos($spamlevel, '*') !== false)
> fputs($ns, $spamlevel . "\r\n");
> if ($res === 1) {
> fputs($ns, "X-Rslight-Original-Group: " .
> $newsgroups . "\r\n");
> $newsgroups = $CONFIG['spamgroup'];
> }
> }
> }
>
> You might try echoing some values while testing:
>
> $CONFIG['spamassassin']
> $CONFIG['spamgroup']
> $res
> $spam_fail
> $newsgroups

I inserted this code at the end of post.inc.php:

echo '>>>>>>>>>';
echo $CONFIG['spamassassin'];
echo ' | ';
echo $CONFIG['spamgroup'];
echo ' | ';
echo $res;
echo ' | ';
echo $spam_fail;
echo ' | ';
echo $newsgroups;
echo ' | ';
echo '<<<<<<<<<';
echo ' | ';

When running the cron here is the output from the code:

>>>>>>>>>1 | rocksolid.spam | | | | <<<<<<<<< | Updated user count

The values after 'spamgroup' are empty.

And I still get the error:

..../rocksolid/newsportal.php on line 355

Subject: Re: How does rslight work with spamassassin?
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 21 Dec 2023 12:44 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@novabbs.org (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How does rslight work with spamassassin?
Date: Thu, 21 Dec 2023 12:44:51 +0000
Organization: Rocksolid Light
Message-ID: <83bf303b3ec06d39d99e91a91f05b5a6$1@news.novabbs.org>
References: <uluu01$mi8d$1@paganini.bofh.team>
<1a8f06b429babaf01ad2875184a92755$1@news.novabbs.org>
<ulvmo7$o6rc$1@paganini.bofh.team>
<010e43fe9d15135071be38ca2fd17ca6$1@news.novabbs.org>
<ulvqn3$o6rc$2@paganini.bofh.team> <ulvrl2$h5kb$1@i2pn2.org>
<ulvrvv$oh6b$1@paganini.bofh.team> <ulvt04$h5kb$2@i2pn2.org>
<ulvu0r$oh6b$2@paganini.bofh.team> <ulvufe$h5kb$4@i2pn2.org>
<ulvup8$h5kb$5@i2pn2.org> <um1avp$qt72$2@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="645704"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5
*A|XCDf?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7
|z[.9iv^g>*8_BH0=hZt'[%)4kG|
View all headers

On Thu, 21 Dec 2023 06:28:58 -0600, SugarBug wrote:

> On Wed, 20 Dec 2023 23:53:13 -0000 (UTC)
> Retro Guy <retroguy@i2pn2.org> wrote:
>
>> On Wed, 20 Dec 2023 23:47:58 -0000 (UTC), Retro Guy wrote:
>>
>> > On Wed, 20 Dec 2023 17:41:28 -0600, SugarBug wrote:
>> >
>> >> On Wed, 20 Dec 2023 23:22:44 -0000 (UTC)
>> >> Retro Guy <retroguy@i2pn2.org> wrote:
>> >>
>> >>> On Wed, 20 Dec 2023 17:06:53 -0600, SugarBug wrote:
>> >>>
>> >>> > On Wed, 20 Dec 2023 22:59:46 -0000 (UTC) Retro Guy
>> >>> > <retroguy@i2pn2.org> wrote:
>> >>> >
>> >>> > <snip>
>> >>> >
>> >>> >> > Multiple times I deleted the entire spool, set overrides so
>> >>> >> > they would pull only a few messages per run, and ran multiple
>> >>> >> > times, and none of the spam is moved to spam.
>> >>> >>
>> >>> >> is rocksolid.spam in $config_dir/spoolnews/groups.txt ?
>> >>> >
>> >>> > spoolnews$ cat groups.txt rocksolid.spam
>> >>> >
>> >>> > spoolnews$ cat groups.txt.dist rocksolid.spam
>> >>>
>> >>> Not sure if it would be a problem, but is rocksolid.spam in more
>> >>> than one section/groups.txt?
>> >>>
>> >>> I only ask because I see it on one of the sites you sent me a link
>> >>> to.
>> >>
>> >> I added it in rocksolid/groups.txt so it would be visible.
>> >
>> > Try taking it out of one. So it is in only one section. It shouldn't
>> > matter what section.
>>
>> Also, the code for checking spam is in post.inc.php:
>>
>> if ((isset($CONFIG['spamassassin']) && ($CONFIG['spamassassin']
>> == true))) {
>> $spam_result_array = check_spam($subject, $from, $newsgroups,
>> $ref, $body, $msgid);
>> $res = $spam_result_array['res'];
>> $spamresult = $spam_result_array['spamresult'];
>> $spamcheckerversion =
>> $spam_result_array['spamcheckerversion']; $spamlevel =
>> $spam_result_array['spamlevel']; $spam_fail =
>> $spam_result_array['spam_fail']; }
>>
>> followed by:
>>
>> if ((isset($CONFIG['spamassassin']) &&
>> ($CONFIG['spamassassin'] == true))) {
>> if (isset($res) && $spam_fail == 0) {
>> fputs($ns, $spamcheckerversion . "\r\n");
>> if (strpos($spamlevel, '*') !== false)
>> fputs($ns, $spamlevel . "\r\n");
>> if ($res === 1) {
>> fputs($ns, "X-Rslight-Original-Group: " .
>> $newsgroups . "\r\n");
>> $newsgroups = $CONFIG['spamgroup'];
>> }
>> }
>> }
>>
>> You might try echoing some values while testing:
>>
>> $CONFIG['spamassassin']
>> $CONFIG['spamgroup']
>> $res $spam_fail $newsgroups
>
> I inserted this code at the end of post.inc.php:
>
> echo '>>>>>>>>>';
> echo $CONFIG['spamassassin'];
> echo ' | ';
> echo $CONFIG['spamgroup'];
> echo ' | ';
> echo $res;
> echo ' | ';
> echo $spam_fail;
> echo ' | ';
> echo $newsgroups;
> echo ' | ';
> echo '<<<<<<<<<';
> echo ' | ';
>
> When running the cron here is the output from the code:
>
>>>>>>>>>>1 | rocksolid.spam | | | | <<<<<<<<< | Updated user count
>
> The values after 'spamgroup' are empty.
>
> And I still get the error:
>
> .../rocksolid/newsportal.php on line 355

cron.php will have nothing to do with spam checking.

checking is done in post.inc.php when someone posts.

Try posting a message to some group that should trigger spamassassin and
see what happens.

Subject: Re: How does rslight work with spamassassin?
From: SugarBug
Newsgroups: rocksolid.nodes.help
Organization: To protect and to server
Date: Thu, 21 Dec 2023 13:15 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: i2pn2.org!i2pn.org!news.samoylyk.net!paganini.bofh.team!tor-network!not-for-mail
From: 388...@sugar.bug (SugarBug)
Newsgroups: rocksolid.nodes.help
Subject: Re: How does rslight work with spamassassin?
Date: Thu, 21 Dec 2023 07:15:34 -0600
Organization: To protect and to server
Message-ID: <um1dn5$r45c$3@paganini.bofh.team>
References: <uluu01$mi8d$1@paganini.bofh.team>
<1a8f06b429babaf01ad2875184a92755$1@news.novabbs.org>
<ulvmo7$o6rc$1@paganini.bofh.team>
<010e43fe9d15135071be38ca2fd17ca6$1@news.novabbs.org>
<ulvqn3$o6rc$2@paganini.bofh.team>
<ulvrl2$h5kb$1@i2pn2.org>
<ulvrvv$oh6b$1@paganini.bofh.team>
<ulvt04$h5kb$2@i2pn2.org>
<ulvu0r$oh6b$2@paganini.bofh.team>
<ulvufe$h5kb$4@i2pn2.org>
<ulvup8$h5kb$5@i2pn2.org>
<um1avp$qt72$2@paganini.bofh.team>
<83bf303b3ec06d39d99e91a91f05b5a6$1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 13:14:13 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="889004"; posting-host="KI3LXs3mCub57v45SLVRBA.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:okK3u5XEYPrw/Osd42e1jzUIzSYOVjdmWBiLBCqFFIY=
X-TOR-Router: sha256:OTQuNzUuMjI1Ljgx --
X-Notice: Filtered by postfilter v. 0.9.3
View all headers

On Thu, 21 Dec 2023 12:44:51 +0000
Retro Guy <retroguy@novabbs.org> wrote:

<snip>
> cron.php will have nothing to do with spam checking.
>
> checking is done in post.inc.php when someone posts.
>
> Try posting a message to some group that should trigger spamassassin
> and see what happens.

Is there no way to filter incoming messages?

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor