Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

[A computer is] like an Old Testament god, with a lot of rules and no mercy. -- Joseph Campbell


computers / Rocksolid Nodes Help / nocemlist.php undefined array

SubjectAuthor
* nocemlist.php undefined arrayMarco Moock
`* Re: nocemlist.php undefined arrayRetro Guy
 `* Re: nocemlist.php undefined arrayMarco Moock
  `* Re: nocemlist.php undefined arrayRetro Guy
   `* Re: nocemlist.php undefined arrayMarco Moock
    `* Re: nocemlist.php undefined arrayRetro Guy
     `- Re: nocemlist.php undefined arrayMarco Moock

1
nocemlist.php undefined array

<upovjg$3rc1e$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=940&group=rocksolid.nodes.help#940

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: nocemlist.php undefined array
Date: Sun, 4 Feb 2024 22:29:20 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <upovjg$3rc1e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 4 Feb 2024 21:29:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dfed7ad06d41fc84facc240adece2485";
logging-data="4042798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19QsVPFaTD3e7BUclDKWQqf"
Cancel-Lock: sha1:scRHjIGCeWluqwDmeFqfrok2ZFk=
 by: Marco Moock - Sun, 4 Feb 2024 21:29 UTC

Hello!

$workpath = "/root/spam/";
$domain = "pi-dach.dorfdsl.de";
$organization = "DorfDSL";
$from = "DorfDSL NoCeM <mm+nocem@dorfdsl.de>";
$from_email = "mm+nocem@dorfdsl.de";
$contact = "mm+nocem@dorfdsl.de";

PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 59
PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 62
PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 66
PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 69
PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 72
PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74

Is there something wrong in my configuration?
/root/spam/incoming/spamtest is a test file (posted by me and then
pulled) with msg-id, subject and all the other headers.

--
kind regards
Marco

Spam und Werbung bitte an ichwillgesperrtwerden@nirvana.admins.ws

Re: nocemlist.php undefined array

<506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=941&group=rocksolid.nodes.help#941

  copy link   Newsgroups: rocksolid.nodes.help
Message-ID: <506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org>
Organization: Rocksolid Light
From: retroguy@novabbs.org (Retro Guy)
Subject: Re: nocemlist.php undefined array
Newsgroups: rocksolid.nodes.help
User-Agent: 40tude_Dialog/2.0.15.41
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <upovjg$3rc1e$1@dont-email.me>
Date: Sun, 4 Feb 2024 14:40:42 -0700
 by: Retro Guy - Sun, 4 Feb 2024 21:40 UTC

On Sun, 4 Feb 2024 22:29:20 +0100, Marco Moock wrote:

> Hello!
>
> $workpath = "/root/spam/";
> $domain = "pi-dach.dorfdsl.de";
> $organization = "DorfDSL";
> $from = "DorfDSL NoCeM <mm+nocem@dorfdsl.de>";
> $from_email = "mm+nocem@dorfdsl.de";
> $contact = "mm+nocem@dorfdsl.de";
>
> PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 59
> PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 62
> PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 66
> PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 69
> PHP Warning: Undefined array key 0 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 72
> PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
> PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
> PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
> PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
> PHP Warning: Undefined array key 1 in /root/rocksolid-light/Rocksolid_Light/tools/nocem/nocemlist.php on line 74
>
> Is there something wrong in my configuration?
> /root/spam/incoming/spamtest is a test file (posted by me and then
> pulled) with msg-id, subject and all the other headers.

Is 'spamtest' a properly formatted message? There must be a header and a
body, even if the body is just one line of anything. There needs to be:

HEADER
<blank line>
BODY

Sometimes, if I just save a header, I simply add:
<blank line>
body

to the file.

Re: nocemlist.php undefined array

<upq2ve$6n34$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=945&group=rocksolid.nodes.help#945

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: Re: nocemlist.php undefined array
Date: Mon, 5 Feb 2024 08:33:02 +0100
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <upq2ve$6n34$1@dont-email.me>
References: <upovjg$3rc1e$1@dont-email.me>
<506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 07:33:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97dd766fa2421604d3e5219a8f2ff69a";
logging-data="220260"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195Yln2GAsqOYYJIJUYyN9I"
Cancel-Lock: sha1:0o5HArsi3NAimsVUXId1lQXA3Ok=
 by: Marco Moock - Mon, 5 Feb 2024 07:33 UTC

On 04.02.2024 um 14:40 Uhr Retro Guy wrote:

> Is 'spamtest' a properly formatted message?

Yes. It is <upou3q$3qaop$1@dont-email.me> downloaded.

--
kind regards
Marco

Send spam to muell456@cartoonies.org

Re: nocemlist.php undefined array

<4e37387d37cc7e15905efe8df61d44a8@www.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=946&group=rocksolid.nodes.help#946

  copy link   Newsgroups: rocksolid.nodes.help
Date: Mon, 5 Feb 2024 08:06:30 +0000
Subject: Re: nocemlist.php undefined array
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
X-Rslight-Site: $2y$10$YY/4HSR31NTBC1WP.1lBD.RMMNOAuYi7GzNxvQ9E30lHE3QBjvDve
X-Rslight-Posting-User: a93aefeeff923def71455caae2dbfb277a59e046
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <upovjg$3rc1e$1@dont-email.me> <506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org> <upq2ve$6n34$1@dont-email.me>
Organization: Rocksolid Light
Message-ID: <4e37387d37cc7e15905efe8df61d44a8@www.novabbs.org>
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_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 5 Feb 2024 08:06 UTC

Marco Moock wrote:

> On 04.02.2024 um 14:40 Uhr Retro Guy wrote:

>> Is 'spamtest' a properly formatted message?

> Yes. It is <upou3q$3qaop$1@dont-email.me> downloaded.

Strange. I just tried with that msg and ended up with a proper nocem.out file:

----------
<snip>
For information contact from@example.com.

@@BEGIN NCM HEADERS
Version: 0.93
Issuer: <from@example.com
Type: spam
Action: hide
Count: 1
Notice-ID: 5de6149966ecc1af
@@BEGIN NCM BODY
# Sender: Marco Moock <mm+usenet-es@dorfdsl.de>
# Date: Sun, 4 Feb 2024 22:03:54 +0100
# Subject: test für nocem
<upou3q$3qaop$1@dont-email.me> de.test
----------

Do you have read privileges to the file, and write privileges to /root/spam when running the script?

--
Retro Guy

Re: nocemlist.php undefined array

<upq7f9$73o7$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=947&group=rocksolid.nodes.help#947

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!nntp.comgw.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: Re: nocemlist.php undefined array
Date: Mon, 5 Feb 2024 09:49:44 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <upq7f9$73o7$1@dont-email.me>
References: <upovjg$3rc1e$1@dont-email.me>
<506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org>
<upq2ve$6n34$1@dont-email.me>
<4e37387d37cc7e15905efe8df61d44a8@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 5 Feb 2024 08:49:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97dd766fa2421604d3e5219a8f2ff69a";
logging-data="233223"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/v4bubfyI1H5RNpRpiw9Qx"
Cancel-Lock: sha1:AVoSHCTSsEGVDgJhMAYDF8Onxc4=
 by: Marco Moock - Mon, 5 Feb 2024 08:49 UTC

On 05.02.2024 um 08:06 Uhr Retro Guy wrote:

> Strange. I just tried with that msg and ended up with a proper
> nocem.out file:

Did you also try with my configuration?

> Do you have read privileges to the file, and write privileges to
> /root/spam when running the script?

Yes.

--
kind regards
Marco

Send spam to muell456@cartoonies.org

Re: nocemlist.php undefined array

<c58364103de76d1872a060380c309b56$1@www.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=948&group=rocksolid.nodes.help#948

  copy link   Newsgroups: rocksolid.nodes.help
Message-ID: <c58364103de76d1872a060380c309b56$1@www.novabbs.org>
Organization: Rocksolid Light
From: retroguy@novabbs.org (Retro Guy)
Subject: Re: nocemlist.php undefined array
Newsgroups: rocksolid.nodes.help
User-Agent: 40tude_Dialog/2.0.15.41
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <upovjg$3rc1e$1@dont-email.me> <506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org> <upq2ve$6n34$1@dont-email.me> <4e37387d37cc7e15905efe8df61d44a8@www.novabbs.org> <upq7f9$73o7$1@dont-email.me>
Date: Mon, 5 Feb 2024 09:14:43 -0700
 by: Retro Guy - Mon, 5 Feb 2024 16:14 UTC

On Mon, 5 Feb 2024 09:49:44 +0100, Marco Moock wrote:

> On 05.02.2024 um 08:06 Uhr Retro Guy wrote:
>
>> Strange. I just tried with that msg and ended up with a proper
>> nocem.out file:
>
> Did you also try with my configuration?

I did, but I needed to run as root for it to work. I don't usually run
stuff as root.

>
>> Do you have read privileges to the file, and write privileges to
>> /root/spam when running the script?
>
> Yes.

Try changing line 43 in nocemlist.php from:
$localeol = PHP_EOL.PHP_EOL;
to:
$localeol = "\n\n";

Also, mske sure there is NO blank line at the start of the file.

Re: nocemlist.php undefined array

<upss62$p5pb$3@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=949&group=rocksolid.nodes.help#949

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: rocksolid.nodes.help
Subject: Re: nocemlist.php undefined array
Date: Tue, 6 Feb 2024 09:55:30 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <upss62$p5pb$3@dont-email.me>
References: <upovjg$3rc1e$1@dont-email.me>
<506255d08e8a813ae92f6ec3d54aafe9$1@www.novabbs.org>
<upq2ve$6n34$1@dont-email.me>
<4e37387d37cc7e15905efe8df61d44a8@www.novabbs.org>
<upq7f9$73o7$1@dont-email.me>
<c58364103de76d1872a060380c309b56$1@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Feb 2024 08:55:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7d0f1625ac59313111c391fc07b7fbd3";
logging-data="825131"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2RLdB8NYDRjv+YYr4qAZI"
Cancel-Lock: sha1:kQv9qlC7yqTlWaitSm/kEHDKi/0=
 by: Marco Moock - Tue, 6 Feb 2024 08:55 UTC

On 05.02.2024 um 09:14 Uhr Retro Guy wrote:

> Also, mske sure there is NO blank line at the start of the file.

There were no such lines, but it is a problem with the file.

The mechanism I used added the NNTP responses.
<
.. <
205 Bye!

Those create the problem, so I know what I need to fix.

--
kind regards
Marco

Send spam to muell456@cartoonies.org

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor