Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

panic: kernel trap (ignored)


computers / news.software.nntp / NEWSGROUP MODERATION DEV GUIDE

SubjectAuthor
* NEWSGROUP MODERATION DEV GUIDEsalahuddin
`* Re: NEWSGROUP MODERATION DEV GUIDEJulien ÉLIE
 `* Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
  `* Re: NEWSGROUP MODERATION DEV GUIDEJulien ÉLIE
   `* Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
    `* Re: NEWSGROUP MODERATION DEV GUIDEJulien ÉLIE
     `* Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
      `* Re: NEWSGROUP MODERATION DEV GUIDEJulien ÉLIE
       `* Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
        `* Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
         +* Re: NEWSGROUP MODERATION DEV GUIDEJulien ÉLIE
         |`- Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin
         `* Re: NEWSGROUP MODERATION DEV GUIDEUrs Janßen
          `- Re: NEWSGROUP MODERATION DEV GUIDEsalahuddin

1
NEWSGROUP MODERATION DEV GUIDE

<uojmpn$ajui$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2816&group=news.software.nntp#2816

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: NEWSGROUP MODERATION DEV GUIDE
Date: Sun, 21 Jan 2024 19:12:07 +0100
Organization: A noiseless patient Spider
Lines: 371
Message-ID: <uojmpn$ajui$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 21 Jan 2024 18:12:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a58bf3a37ab26cc94d2095e15bd9e813";
logging-data="348114"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19//XRWqasoXyrTgJBYrReZ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:o77Ps9gAP1M1qvv2Xu/5oH3KLrg=
Content-Language: en-US
 by: salahuddin - Sun, 21 Jan 2024 18:12 UTC

____________________________________________

NEWSGROUP MODERATION TOOL DEVELOPERS GUIDE

Salahuddin <salahuddin@member.fsf.org>
____________________________________________

<2024-01-21 Sun>

Table of Contents
_________________

1. local DNS server
2. Setup USENET server
... 1. enable IHAVE
... 2. enable incoming
... 3. Server logs
3. Setup USENET client
... 1. IHAVE command not enabled
... 2. Install rnews
... 3. Test rnews
4. Setup local Mail Server
... 1. Setup procmail
... 2. Message formatting
... 3. add custom headers
... 4. add Approved header(s)
... 5. Test Post
5. Simulate newsgroup post
6. Develop incoming mail handler

1 local DNS server
==================

Setup a local DNS server (bind9 or other), and add DNS entries of your
local virtual servers.

usenet-server.home.lab - USENET server
usenet-client.home.lab - client will post news to USENET server via
rnews

note: Please make sure your virtual servers are using your DNS server.

2 Setup USENET server
=====================

usenet-server.home.lab

setup inn2 from source or in Debian based distribution.
,----
| # apt-get install inn2
`----

edit /etc/news/inn.conf
,----
| pathhost: usenet-server.home.lab
| domain: usenet-server.home.lab
`----

create groups
,----
| $ /usr/sbin/ctlinnd newgroup demo.comments
`----

edit /var/lib/news/newsgroups
,----
| demo.comments Demo comments
`----

edit /etc/news/readers.conf
,----
| auth "demo" {
| hosts: "*"
| default: "<demo>"
| }
|
| access "demo" {
| users: "<demo>"
| newsgroups: "demo.comments"
| access: RPA
| }
`----

2.1 enable IHAVE
~~~~~~~~~~~~~~~~

Enable IHAVE to send news from rnews from other client.

edit /etc/news/control.ctl change drop -> doit
,----
| ihave:*:*:doit
`----

2.2 enable incoming
~~~~~~~~~~~~~~~~~~~

edit /etc/news/incoming.conf
,----
| peer other {
| hostname: "HOST_OR_IP_OF_YOUR_CLIENT_WITH_RNEWS"
| }
`----

Replace HOST_OR_IP_OF_YOUR_CLIENT_WITH_RNEWS with your
usenet-client.home.lab name or IP.
It will allow usenet-client.home.lab to post news to
usenet-server.home.lab via rnews.

restart
,----
| # systemctl stop inn2
| # systemctl start inn2
`----

2.3 Server logs
~~~~~~~~~~~~~~~

,----
| # journalctl -u inn2.service
`----

3 Setup USENET client
=====================

usenet-client.home.lab

You may test your USENET server using a USENET client or telnet.

,----
| telnet usenet-server.home.lab 119
| POST
| //It will return you a Message-ID.
| // add Message-ID in your manual post
| Path: hi!not-for-mail
| From: Home <demo@demo>
| Newsgroups: demo.comments
| Date: Fri, 5 Jan 2024 21:29:04 -0000 (UTC)
| Subject: test
| Organization: A poorly-installed InterNetNews site
| Message-ID: <unb5kg$17e$1@usernet-server.dynamic.lab>
| MIME-Version: 1.0
| Content-Type: text/plain; charset=UTF-8
|
| test
|
| QUIT
`----
Now, your message should appear in demo.comments news group.

3.1 IHAVE command not enabled
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

example: error IHAVE command not enabled
----------------------------------------------------------------------
,----
| telnet usenet-server.home.lab 119
| Trying 192.168.0.196...
| Connected to usenet-server.home.lab.
| Escape character is '^]'.
| 200 usenet-server.home.lab InterNetNews NNRP server INN 2.7.1 ready
(posting ok)
| IHAVE <unb5kg$18e$1@usenet-client.home.lab>
| 480 IHAVE command disabled by administrator
`----

note: rnews uses IHAVE command.
Please make sure your server has IHAVE command enabled.

3.2 Install rnews
~~~~~~~~~~~~~~~~~

Install rnews from source or in Debian based distribution.
,----
| # apt-get install inn2-inews
`----

3.3 Test rnews
~~~~~~~~~~~~~~

create test_message.txt
,----
| Path: hi!not-for-mail
| From: home <demo@demo>
| Newsgroups: demo.comments
| Date: Fri, 5 Jan 2024 21:29:04 -0000 (UTC)
| Subject: test2
| Message-ID: <unb5kg$19e$1@usenet-client.dynamic.lab>
|
| test2
`----

post message
,----
| /usr/bin/rnews -h usene-server.home.lab -P 119 -S
usenet-server.home.lab < test_message.txt
`----

verify the message post status using your usenet reader.

4 Setup local Mail Server
=========================

usenet-client.home.lab

Setup local Mail Server for moderation (Sendmail, Exim, others).

warning: *by default mail server disable email exchange for local IP
series.*
If you have local IP series 192.168.0.x, please make sure you allow
this series for mail exchange.

Example: in Exim /etc/exim4/exim4.conf.template
,----
| dnslookup:
| debug_print = "R: dnslookup for $local_part@$domain"
| driver = dnslookup
| domains = ! +local_domains
| transport = remote_smtp
| same_domain_copy_routing = yes
| # ignore private rfc1918 and APIPA addresses
| ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
| 172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
| 255.255.255.255
| no_more
| .endif
`----
remove 192.168.0.0/16 to allow local mail exchange.

4.1 Setup procmail
~~~~~~~~~~~~~~~~~~

,----
| add $HOME/.procmailrc
| ------------------------
| DEFAULT=$HOME/Maildir/
| MAILDIR=$HOME/Maildir/
| LOCKFILE=$HOME/.lockmail
| LOGFILE=$MAILDIR/procmail.log
| LOGABSTRACT=yes
| VERBOSE=yes
|
| :0c
| | ../YOUR_INCOMING_MAIL_HANDLER
`----

"YOUR_INCOMING_MAIL_HANDLER" will read mail via STDIN and save for
further processing. You need to notify the sender an acknowledgment of
the submission (automatically or manually).

4.2 Message formatting
~~~~~~~~~~~~~~~~~~~~~~

If your comment or any header line is too long, it should be
reformatted to next line with space(s).
Example:
,----
| HEADER: your long
| comment for moderation
`----

This will fail while posting in newsgroup.

You need to either make the comment shorter or add space(s) as prefix
after header line
,----
| HEADER: your long
| comment for moderation
`----

4.3 add custom headers
~~~~~~~~~~~~~~~~~~~~~~

add your custom headers with the original submission for approval
,----
| X-SCRM-Policy: https://example.com/
| X-SCRM-Info-1: Send submissions to demo@example.com
| X-SCRM-Info-2: Send technical complaints to demo-admin@example.com
| X-SCRM-Info-3: Send complaints about policy to demo-board@example.com
| X-Comment: moderators do not necessarily agree or disagree with
this article.
| X-Robomod: YOUR_MODERATION, demo@example.com
| X-Moderation-1: YOUR moderation tool
| X-Moderation-2: See https://example.com/
`----

4.4 add Approved header(s)
~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove unnecessary header(s) and add approved header before
submission.
,----
| formail -f -I Path: \
| -I X-Moderate-For: \
| -I Return-Path: \
| -I X-Mailer: \
| -I "Date:" \
| -I "X-400-Received:" \
| -I Received: \
| -I "From " \
| -a "Approved: YOUR_APPROVAL_EMAIL" \
| -I Lines: \
| -I Cc: \
| -I Status:
|
| > post_to_send.txt
`----

4.5 Test Post
~~~~~~~~~~~~~

Now you can post to your local newsgroup server via rnews.
,----
| /usr/bin/rnews -h usene-server.home.lab -P 119 -S
usenet-server.home.lab < post_to_send.txt
`----

After successful posting, move the submitted mail submission in a
different directory to avoid re-posting. You may automate the process
by implementing scripts and web-interface.

If you plan to use it in a production/external USENET server, you need
to add your login password in /etc/news/passwd.nntp
,----
| EXTERNAL_USENET_SERVER_HOST:YOUR_LOGIN:YOUR_PASSWORD
`----
Use port with SSL/TLS (563) instead of insecure port 119.


Click here to read the complete article
Re: NEWSGROUP MODERATION DEV GUIDE

<uok08n$3n4mu$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2817&group=news.software.nntp#2817

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.trigofacile.com!.POSTED.2a01cb080adc11001c08c8c7224c01cb.ipv6.abo.wanadoo.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Sun, 21 Jan 2024 21:53:43 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <uok08n$3n4mu$1@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 21 Jan 2024 20:53:43 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080adc11001c08c8c7224c01cb.ipv6.abo.wanadoo.fr:2a01:cb08:adc:1100:1c08:c8c7:224c:1cb";
logging-data="3904222"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Ncc2VADKe3omrEO5Sf9U1ZVQKgI= sha256:Y8z3VXIXsCMf91GRC5uUiokFCEN3gWPwVagvZbn/0g0=
sha1:c8n73YeCV6HMGDWMeLQNre6bBTw= sha256:+h8pJUfYx7sDx6CfSI6juj4+0VFYuLZNhXXEENMJUdU=
In-Reply-To: <uojmpn$ajui$1@dont-email.me>
 by: Julien ÉLIE - Sun, 21 Jan 2024 20:53 UTC

Hi Salahuddin,

A few remarks below:

>   create groups
>   ,----
>   | $ /usr/sbin/ctlinnd newgroup demo.comments
>   `----

I do not understand well in the documentation when you test the
moderation. There's no moderated newsgroup involved.
Shouldn't demo.comments be a moderated newsgroup?

ctlinnd newgroup demo.comments m

>   edit /var/lib/news/newsgroups
>   ,----
>   | demo.comments   Demo comments
>   `----

demo.comments Demo comments. (Moderated)

>   Enable IHAVE to send news from rnews from other client.
>
>   edit /etc/news/control.ctl change drop -> doit
>   ,----
>   | ihave:*:*:doit
>   `----

The 2.2 step with the addition of the IP of the client to incoming.conf
is enough to enable the IHAVE command.
control.ctl is not involved in that process: ihave, here, is the type of
a control article (like newgroup, checkgroups, cancel), not an NNTP
command like IHAVE.
You can then remove the 2.1 step.

>   | Organization: A poorly-installed InterNetNews site

There's a better organization to put :)
At step 2, while editing inn.conf, you could update it too.

>   | MIME-Version: 1.0
>   | Content-Type: text/plain; charset=UTF-8

I would also suggest:

Content-Transfer-Encoding: 8bit

>   | test
>   |
>   | QUIT

You must add a dot on a mere line to mark the end of the article:

test
.
QUIT

Also, in your example of posting, I would add a "MODE READER" command
first, as you may not be in that mode in case your client has been
configured in incoming.conf.

>   post message
>   ,----
>   | /usr/bin/rnews -h usene-server.home.lab -P 119 -S
> usenet-server.home.lab < test_message.txt

There's a typo in the name of the server.

Thanks for your work on explaining how to set up moderation. (It may
still be a bit obscure for people who have never installed a news server
and a mail server.)

--
Julien ÉLIE

« Medicorum nutrix est intemperantia. »

Re: NEWSGROUP MODERATION DEV GUIDE

<uokaff$dmqa$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2818&group=news.software.nntp#2818

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Mon, 22 Jan 2024 00:47:58 +0100
Organization: A noiseless patient Spider
Lines: 370
Message-ID: <uokaff$dmqa$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 21 Jan 2024 23:47:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e7ab8ba7a492ccc966cb41c1708a4bdd";
logging-data="449354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R7hf4GzE3hSt/IttkvS2L"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:y6zSlWLobagvfqZ2fzs1jafq03A=
Content-Language: en-US
In-Reply-To: <uok08n$3n4mu$1@news.trigofacile.com>
 by: salahuddin - Sun, 21 Jan 2024 23:47 UTC

Hi Julien,

On 1/21/24 21:53, Julien ÉLIE wrote:
> A few remarks below:
>
>>    create groups
>>    ,----
>>    | $ /usr/sbin/ctlinnd newgroup demo.comments
>>    `----
>
> I do not understand well in the documentation when you test the
> moderation.  There's no moderated newsgroup involved.
> Shouldn't demo.comments be a moderated newsgroup?
>
>     ctlinnd newgroup demo.comments m
>

Yes.

> Thanks for your work on explaining how to set up moderation. (It may
> still be a bit obscure for people who have never installed a news server
> and a mail server.)
>
Welcome. Thank you for your feedback.

I also posted update in my blog:
https://netuse.dynamicmalloc.com/usenet_mod_dev.html

____________________________________________

NEWSGROUP MODERATION TOOL DEVELOPERS GUIDE

Salahuddin <salahuddin@member.fsf.org>
____________________________________________

<2024-01-22 Mon>

Table of Contents
_________________

1. local DNS server
2. Setup USENET server
... 1. enable incoming
... 2. Server logs
3. Setup USENET client
... 1. Install rnews
... 2. Test rnews
4. Setup local Mail Server
... 1. Setup procmail
... 2. Message formatting
... 3. add custom headers
... 4. add Approved header(s)
... 5. Test Post
5. Simulate newsgroup post
6. Develop incoming mail handler

1 local DNS server
==================

Setup a local DNS server (bind9 or other), and add DNS entries of your
local virtual servers.

usenet-server.home.lab - USENET server
usenet-client.home.lab - client will post news to USENET server via
rnews

note: Please make sure your virtual servers are using your DNS server.

2 Setup USENET server
=====================

usenet-server.home.lab

setup inn2 from source or in Debian based distribution.
,----
| # apt-get install inn2
`----

edit /etc/news/inn.conf
,----
| Organization: "Demo InterNetNews site"
| pathhost: usenet-server.home.lab
| domain: usenet-server.home.lab
`----

create a moderated group
,----
| $ /usr/sbin/ctlinnd newgroup demo.comments m
`----

edit /var/lib/news/newsgroups
,----
| demo.comments Demo comments. (Moderated)
`----

edit /etc/news/readers.conf
,----
| auth "demo" {
| hosts: "*"
| default: "<demo>"
| }
|
| access "demo" {
| users: "<demo>"
| newsgroups: "demo.comments"
| access: RPA
| }
`----

2.1 enable incoming
~~~~~~~~~~~~~~~~~~~

edit /etc/news/incoming.conf
,----
| peer other {
| hostname: "HOST_OR_IP_OF_YOUR_CLIENT_WITH_RNEWS"
| }
`----

Replace HOST_OR_IP_OF_YOUR_CLIENT_WITH_RNEWS with your
usenet-client.home.lab name or IP.
It will allow usenet-client.home.lab to post news to
usenet-server.home.lab via rnews.

restart
,----
| # systemctl stop inn2
| # systemctl start inn2
`----

2.2 Server logs
~~~~~~~~~~~~~~~

,----
| # journalctl -u inn2.service
`----

3 Setup USENET client
=====================

usenet-client.home.lab

You may test your USENET server using a USENET client or telnet.

,----
| telnet usenet-server.home.lab 119
| MODE READER
| POST
| //It will return you a Message-ID.
| // add Message-ID in your manual post
| Path: hi!not-for-mail
| From: Home <demo@demo>
| Newsgroups: demo.comments
| Date: Fri, 5 Jan 2024 21:29:04 -0000 (UTC)
| Subject: test
| Organization: A poorly-installed InterNetNews site
| Message-ID: <unb5kg$17e$1@usernet-server.dynamic.lab>
| MIME-Version: 1.0
| Content-Type: text/plain; charset=UTF-8
| Content-Transfer-Encoding: 8bit
|
| test
| .
| QUIT
`----
Now, your message should appear in demo.comments news group.

3.1 Install rnews
~~~~~~~~~~~~~~~~~

Install rnews from source or in Debian based distribution.
,----
| # apt-get install inn2-inews
`----

3.2 Test rnews
~~~~~~~~~~~~~~

create test_message.txt
,----
| Path: hi!not-for-mail
| From: home <demo@demo>
| Newsgroups: demo.comments
| Date: Fri, 5 Jan 2024 21:29:04 -0000 (UTC)
| Subject: test2
| Message-ID: <unb5kg$19e$1@usenet-client.dynamic.lab>
|
| test2
`----

post message
,----
| /usr/bin/rnews -h usenet-server.home.lab -P 119 -S
usenet-server.home.lab < test_message.txt
`----

verify the message post status using your usenet reader.

4 Setup local Mail Server
=========================

usenet-client.home.lab

Setup local Mail Server for moderation (Sendmail, Exim, others).

warning: *by default mail server disable email exchange for local IP
series.*
If you have local IP series 192.168.0.x, please make sure you allow
this series for mail exchange.

Example: in Exim /etc/exim4/exim4.conf.template
,----
| dnslookup:
| debug_print = "R: dnslookup for $local_part@$domain"
| driver = dnslookup
| domains = ! +local_domains
| transport = remote_smtp
| same_domain_copy_routing = yes
| # ignore private rfc1918 and APIPA addresses
| ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
| 172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
| 255.255.255.255
| no_more
| .endif
`----
remove 192.168.0.0/16 to allow local mail exchange.

4.1 Setup procmail
~~~~~~~~~~~~~~~~~~

,----
| add $HOME/.procmailrc
| ------------------------
| DEFAULT=$HOME/Maildir/
| MAILDIR=$HOME/Maildir/
| LOCKFILE=$HOME/.lockmail
| LOGFILE=$MAILDIR/procmail.log
| LOGABSTRACT=yes
| VERBOSE=yes
|
| :0c
| | ../YOUR_INCOMING_MAIL_HANDLER
`----

"YOUR_INCOMING_MAIL_HANDLER" will read mail via STDIN and save for
further processing. You need to notify the sender an acknowledgment of
the submission (automatically or manually).

4.2 Message formatting
~~~~~~~~~~~~~~~~~~~~~~

If your comment or any header line is too long, it should be
reformatted to next line with space(s).
Example:
,----
| HEADER: your long
| comment for moderation
`----

This will fail while posting in newsgroup.

You need to either make the comment shorter or add space(s) as prefix
after header line
,----
| HEADER: your long
| comment for moderation
`----

4.3 add custom headers
~~~~~~~~~~~~~~~~~~~~~~

add your custom headers with the original submission for approval
,----
| X-SCRM-Policy: https://example.com/
| X-SCRM-Info-1: Send submissions to demo@example.com
| X-SCRM-Info-2: Send technical complaints to demo-admin@example.com
| X-SCRM-Info-3: Send complaints about policy to demo-board@example.com
| X-Comment: moderators do not necessarily agree or disagree with
this article.
| X-Robomod: YOUR_MODERATION, demo@example.com
| X-Moderation-1: YOUR moderation tool
| X-Moderation-2: See https://example.com/
`----

4.4 add Approved header(s)
~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove unnecessary header(s) and add approved header before
submission.
,----
| formail -f -I Path: \
| -I X-Moderate-For: \
| -I Return-Path: \
| -I X-Mailer: \
| -I "Date:" \
| -I "X-400-Received:" \
| -I Received: \
| -I "From " \
| -a "Approved: YOUR_APPROVAL_EMAIL" \
| -I Lines: \
| -I Cc: \
| -I Status:
|
| > post_to_send.txt
`----

4.5 Test Post
~~~~~~~~~~~~~

Now you can post to your local newsgroup server via rnews.
,----
| /usr/bin/rnews -h usenet-server.home.lab -P 119 -S
usenet-server.home.lab < post_to_send.txt
`----

After successful posting, move the submitted mail submission in a
different directory to avoid re-posting. You may automate the process
by implementing scripts and web-interface.

If you plan to use it in a production/external USENET server, you need
to add your login password in /etc/news/passwd.nntp
,----
| EXTERNAL_USENET_SERVER_HOST:YOUR_LOGIN:YOUR_PASSWORD
`----
Use port with SSL/TLS (563) instead of insecure port 119.


Click here to read the complete article
Re: NEWSGROUP MODERATION DEV GUIDE

<uomad0$3pllh$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2820&group=news.software.nntp#2820

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.trigofacile.com!.POSTED.2a01cb080adc110070567b00d94a9be6.ipv6.abo.wanadoo.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Mon, 22 Jan 2024 18:58:57 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <uomad0$3pllh$1@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Jan 2024 17:58:56 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080adc110070567b00d94a9be6.ipv6.abo.wanadoo.fr:2a01:cb08:adc:1100:7056:7b00:d94a:9be6";
logging-data="3987121"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Nhie7yDOcZXhHjAvEywguW92Os4= sha256:0iercLZk/YfS/7ZCJWRz9qIJIi+148Zc5+ss3l0cUyo=
sha1:ZXX5Sjo80JECa/yn2V/Hu0zIKZE= sha256:WU/b/sbHSw1RUia5n99hGJouUlhb5gTGhW92NNY2aBk=
In-Reply-To: <uokaff$dmqa$1@dont-email.me>
 by: Julien ÉLIE - Mon, 22 Jan 2024 17:58 UTC

Hi Salahuddin,

>   | POST
[...]
>   | Organization: A poorly-installed InterNetNews site

You can remove that header field.

>   Now, your message should appear in demo.comments news group.

It won't, as the group is moderated.
You should say that it is normal that the message did not appear in the
newsgroup when posted. It was mailed to the moderator for manual approval.

Unless you wish to test whether posting works?
Then I would suggest to create 2 newsgroups: demo.comments and
demo.comments.moderated, the first one unmoderated, and the second one
moderated.
You first try to post in demo.comments, and ensure the post appears.
And then you send another post to demo.comments.moderated, which does
not appear in the newsgroup.
But you have to set up the local mail server (step 4) before doing that
second test.

--
Julien ÉLIE

« Petite annonce : Artificier cherche femme canon. »

Re: NEWSGROUP MODERATION DEV GUIDE

<uomq9i$u0ol$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2823&group=news.software.nntp#2823

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Mon, 22 Jan 2024 23:30:09 +0100
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <uomq9i$u0ol$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Jan 2024 22:30:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e7ab8ba7a492ccc966cb41c1708a4bdd";
logging-data="983829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jyR2uPU5+gaHzF9tIZQyQ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:7yCrDApoLNJHKCu0wq70BnRonnE=
In-Reply-To: <uomad0$3pllh$1@news.trigofacile.com>
Content-Language: en-US
 by: salahuddin - Mon, 22 Jan 2024 22:30 UTC

On 1/22/24 18:58, Julien ÉLIE wrote:
> Hi Salahuddin,
>
>>    | POST
> [...]
>>    | Organization: A poorly-installed InterNetNews site
>
> You can remove that header field.
>
>
>>    Now, your message should appear in demo.comments news group.
>
> It won't, as the group is moderated.
> You should say that it is normal that the message did not appear in the
> newsgroup when posted.  It was mailed to the moderator for manual approval.
>
> Unless you wish to test whether posting works?
> Then I would suggest to create 2 newsgroups: demo.comments and
> demo.comments.moderated, the first one unmoderated, and the second one
> moderated.
> You first try to post in demo.comments, and ensure the post appears. And
> then you send another post to demo.comments.moderated, which does not
> appear in the newsgroup.
> But you have to set up the local mail server (step 4) before doing that
> second test.
>

Hi Julien,

I updated https://netuse.dynamicmalloc.com/usenet_mod_dev.html

Removed the header, but for simplicity I kept the newsgroup not
moderated (for testing only).

I assume, initially news moderator won't run a news-server, but use
external news-server for submitting approved post.

I am using external news-server to send the submission by adding
"Approved:" header.

Another experimental work:
------------------------
I created a draft Perl code, which can fetch message from external mail
provider (IMAP) and save locally for further processing.

But later, I realized if I want to post news I should have static IP
which my news-server allowed to post news via rnews.

Is there any alternative way news-server can allow any random IP to
submit post via rnews.

(In this case news moderator won't need to run a server.
Just perl script will fetch message and process locally and submit via
rnews.)

Thank you.

Regards,
Salahuddin

Re: NEWSGROUP MODERATION DEV GUIDE

<uomqnp$sl7$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2824&group=news.software.nntp#2824

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!nntp.comgw.net!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2a01cb080adc11001504119a99274318.ipv6.abo.wanadoo.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Mon, 22 Jan 2024 23:37:45 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <uomqnp$sl7$1@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Jan 2024 22:37:45 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080adc11001504119a99274318.ipv6.abo.wanadoo.fr:2a01:cb08:adc:1100:1504:119a:9927:4318";
logging-data="29351"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ln4JPlaplV+d1by6KegYxlhWdGc= sha256:5AETpWY1Gq17NKi3/NKYCxPcXYOLH1358bo0ACZFeps=
sha1:ITvc0ZM0jXcJeSX5q80V0XhXSpA= sha256:f33q1JETk8k5E6kEOmMOnbve2wlVl+/I4Jbt2+ilqCU=
In-Reply-To: <uomq9i$u0ol$1@dont-email.me>
 by: Julien ÉLIE - Mon, 22 Jan 2024 22:37 UTC

Hi Salahuddin,

> Removed the header, but for simplicity I kept the newsgroup not
> moderated (for testing only).
>
> I assume, initially news moderator won't run a news-server, but use
> external news-server for submitting approved post.
>
> I am using external news-server to send the submission by adding
> "Approved:" header.

OK, that sounds a more frequent case.

> But later, I realized if I want to post news I should have static IP
> which my news-server allowed to post news via rnews.
>
> Is there any alternative way news-server can allow any random IP to
> submit post via rnews.

Why don't you just use inews instead of rnews?
inews will send a POST command, and as "RPA" access has been allowed in
readers.conf, posts with an Approved header field will be allowed. This
way, you can have any IP you want.

Furthermore, the setting in incoming.conf is no longer necessary as you
won't use IHAVE commands.

--
Julien ÉLIE

« Prouidentia, dum ortum ante obitum ponit, sapienter fecit, sin autem
quid uitae sit notum ? » (Alphonse Allais)

Re: NEWSGROUP MODERATION DEV GUIDE

<uomtfl$uept$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2825&group=news.software.nntp#2825

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Tue, 23 Jan 2024 00:24:37 +0100
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <uomtfl$uept$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 22 Jan 2024 23:24:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7bd5f14e5f6d7951cdbab65742046245";
logging-data="998205"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bh9jV+tDJzoDg66EkAp1I"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Pqk0uTRK4G/yj+tyCKbPVE66Ds4=
In-Reply-To: <uomqnp$sl7$1@news.trigofacile.com>
Content-Language: en-US
 by: salahuddin - Mon, 22 Jan 2024 23:24 UTC

On 1/22/24 23:37, Julien ÉLIE wrote:
> Hi Salahuddin,
>
>> Removed the header, but for simplicity I kept the newsgroup not
>> moderated (for testing only).
>>
>> I assume, initially news moderator won't run a news-server, but use
>> external news-server for submitting approved post.
>>
>> I am using external news-server to send the submission by adding
>> "Approved:" header.
>
> OK, that sounds a more frequent case.
>
>
>
>> But later, I realized if I want to post news I should have static IP
>> which my news-server allowed to post news via rnews.
>>
>> Is there any alternative way news-server can allow any random IP to
>> submit post via rnews.
>
> Why don't you just use inews instead of rnews?
> inews will send a POST command, and as "RPA" access has been allowed in
> readers.conf, posts with an Approved header field will be allowed.  This
> way, you can have any IP you want.
>
> Furthermore, the setting in incoming.conf is no longer necessary as you
> won't use IHAVE commands.
>

Hi Julien,

https://www.eyrie.org/~eagle/software/inn/docs/inews.html
inews — Post an article to the local news server

Is there any other inews you mean ?
or
If I configure /etc/news/inn.conf correctly, then this local news post
to inews will be posted to remote news-server ?

I am not quite clear about it.

Thank you.

Regards,
Salahuddin

Re: NEWSGROUP MODERATION DEV GUIDE

<uop2ic$2lat$2@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2838&group=news.software.nntp#2838

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2a01cb080adc11002daf2836f6473c46.ipv6.abo.wanadoo.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Tue, 23 Jan 2024 20:03:39 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <uop2ic$2lat$2@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 23 Jan 2024 19:03:40 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080adc11002daf2836f6473c46.ipv6.abo.wanadoo.fr:2a01:cb08:adc:1100:2daf:2836:f647:3c46";
logging-data="87389"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:m4djxxXstHWfgNRUP3BvVFgaISI= sha256:6u5ExxTh27L0xuaB4mL4pN5Axio6RIr9SeMQFQi4wlA=
sha1:sl1dSdpV+50h7ZS3/pS3QvbKzLw= sha256:trqBLcmFlsXT/pTjAz0K2WTUU2BFDKq10bAvaG5ZhO0=
In-Reply-To: <uomtfl$uept$1@dont-email.me>
 by: Julien ÉLIE - Tue, 23 Jan 2024 19:03 UTC

Hi Salahuddin,

> https://www.eyrie.org/~eagle/software/inn/docs/inews.html
> inews — Post an article to the local news server
>
> Is there any other inews you mean ?

I indeed meant this one.
You can also use tinews.pl shipped with tin, which works pretty well and
is actively maintained. (Looking at the contents of the Debian package,
tinews.pl is not directly installed in /usr/bin but in
/usr/share/doc/tin/tools/tinews.pl.gz so you'll need an extra step to
uncompress it in the right directory. Too bad it is not installed by
default...)

> If I configure /etc/news/inn.conf correctly, then this local news post
> to inews will be posted to remote news-server ?

inews will post the article to the news server set in the "server"
parameter in inn.conf.
I've not tested that use case of posting to a remote server with inews,
but it should normally work. Please tell if it does not.

--
Julien ÉLIE

« Les amis de la vérité sont ceux qui la cherchent, et non ceux qui se
vantent de l'avoir trouvée. » (Condorcet)

Re: NEWSGROUP MODERATION DEV GUIDE

<uopgfj$1fkna$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2846&group=news.software.nntp#2846

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Wed, 24 Jan 2024 00:01:07 +0100
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <uopgfj$1fkna$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
<uop2ic$2lat$2@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 23 Jan 2024 23:01:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="900e6e9959f70af5a4ded1a11569719a";
logging-data="1561322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190hU5+76wUCvuwJq/eX86N"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:y3L+dR5sZKkL0IcKoxcxEpl8O3M=
Content-Language: en-US
In-Reply-To: <uop2ic$2lat$2@news.trigofacile.com>
 by: salahuddin - Tue, 23 Jan 2024 23:01 UTC

On 1/23/24 20:03, Julien ÉLIE wrote:
> Hi Salahuddin,
>
>> https://www.eyrie.org/~eagle/software/inn/docs/inews.html
>> inews — Post an article to the local news server
>>
>> Is there any other inews you mean ?
>
> I indeed meant this one.

Hi Julien,

> You can also use tinews.pl shipped with tin, which works pretty well and
> is actively maintained.  (Looking at the contents of the Debian package,
> tinews.pl is not directly installed in /usr/bin but in
> /usr/share/doc/tin/tools/tinews.pl.gz so you'll need an extra step to
> uncompress it in the right directory.  Too bad it is not installed by
> default...)
>

I will have a look.

>> If I configure /etc/news/inn.conf correctly, then this local news post
>> to inews will be posted to remote news-server ?
>
> inews will post the article to the news server set in the "server"
> parameter in inn.conf.
> I've not tested that use case of posting to a remote server with inews,
> but it should normally work.  Please tell if it does not.
>

I think, I tested once/twice to post inews with "Approved:" header to my
USENET provider. (They allowed my account to post with approved header.)

I setup correct information in "inn.conf", but the post did not appear.
Later, administrator suggested to use rnews.

I will try to do a small test with inews in my local virtual servers.

Thank you.

regards,
Salahuddin

Re: NEWSGROUP MODERATION DEV GUIDE

<up9b3q$leir$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2875&group=news.software.nntp#2875

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Tue, 30 Jan 2024 00:07:37 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <up9b3q$leir$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
<uop2ic$2lat$2@news.trigofacile.com> <uopgfj$1fkna$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 29 Jan 2024 23:07:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c88aeda5702ae08b9e7f063dc447c01e";
logging-data="703067"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FkdPAi2/Bw41AgsAU7ozE"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jn1smo87MXx6CWSjLh05S8Jv9ho=
Content-Language: en-US
In-Reply-To: <uopgfj$1fkna$1@dont-email.me>
 by: salahuddin - Mon, 29 Jan 2024 23:07 UTC

Hi Julien,

On 1/24/24 00:01, salahuddin wrote:
> On 1/23/24 20:03, Julien ÉLIE wrote:
>
>> You can also use tinews.pl shipped with tin, which works pretty well
>> and is actively maintained.  (Looking at the contents of the Debian
>> package, tinews.pl is not directly installed in /usr/bin but in
>> /usr/share/doc/tin/tools/tinews.pl.gz so you'll need an extra step to
>> uncompress it in the right directory.  Too bad it is not installed by
>> default...)
>
> I will have a look.

tinews.pl worked.

I wrote a Perl script to fetch messages using IMAP from remote server.
Then moderator can format the message and post using tinews.pl

I added "Moderation without server" using IMAP.

https://netuse.dynamicmalloc.com/usenet_mod_dev.html

>
> I will try to do a small test with inews in my local virtual servers.

I could not find any option to specify host for inews.

Thank you.

Re: NEWSGROUP MODERATION DEV GUIDE

<upbg44$tmqu$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2876&group=news.software.nntp#2876

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!news.hispagatos.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2a01cb080adc1100f9d6ca5fc2fadfef.ipv6.abo.wanadoo.fr!not-for-mail
From: iulius@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Tue, 30 Jan 2024 19:45:24 +0100
Organization: Groupes francophones par TrigoFACILE
Message-ID: <upbg44$tmqu$1@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
<uop2ic$2lat$2@news.trigofacile.com> <uopgfj$1fkna$1@dont-email.me>
<up9b3q$leir$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 Jan 2024 18:45:24 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080adc1100f9d6ca5fc2fadfef.ipv6.abo.wanadoo.fr:2a01:cb08:adc:1100:f9d6:ca5f:c2fa:dfef";
logging-data="973662"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xwvQPV62U4MClgM0pHMNNvMXFQE= sha256:cb7O1mSl+sQm3rdaT4FDAmriTA71jGEtRj4tC0og+zI=
sha1:G7s3QGSl39GuFNPhS+FNtADHB9o= sha256:PZ01BIPFFV+KWX6cY6nYSCV6yEFGfajx7iEhRPGU3tA=
In-Reply-To: <up9b3q$leir$1@dont-email.me>
 by: Julien ÉLIE - Tue, 30 Jan 2024 18:45 UTC

Hi Salahuddin,

>>> You can also use tinews.pl shipped with tin, which works pretty well
>>> and is actively maintained.  (Looking at the contents of the Debian
>>> package, tinews.pl is not directly installed in /usr/bin but in
>>> /usr/share/doc/tin/tools/tinews.pl.gz so you'll need an extra step to
>>> uncompress it in the right directory.  Too bad it is not installed by
>>> default...)
>
> tinews.pl worked.

Glad to hear :)
tinews.pl is a great tool.

>> I will try to do a small test with inews in my local virtual servers.
>
> I could not find any option to specify host for inews.

https://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html

"""
server

The name of the default NNTP server. If nnrpdposthost is not set and
UNIX domain sockets are not supported, nnrpd tries to hand off
locally-posted articles through an INET domain socket to this server.

actsync, getlist, inews, and nntpget also use this value as the default
server to connect to. In the latter cases, the value of the NNTPSERVER
environment variable, if it exists, overrides this. The default value is
unset.

"""

Just tested, and it works for me. I don't know why it does not for you.
Maybe the easiest way is to just use the NNTPSERVER environment variable:

% NNTPSERVER=news.eternal-september.org inews -h -P < test
inews: cannot send article to server: 441 You are not allowed to post to
fr.test
inews: article not posted

I do not have an account on that news server, so the error is normal.
-h indicates that the article has headers, and -P to not add a Sender
header field.

--
Julien ÉLIE

« Le travail n'est pas une bonne chose. Si ça l'était, les riches
l'auraient accaparé. »

Re: NEWSGROUP MODERATION DEV GUIDE

<upbv9e$ttbv$1@news.trigofacile.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2877&group=news.software.nntp#2877

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.trigofacile.com!.POSTED.akk21-int.akk.kit.edu!not-for-mail
From: urs@buil.tin.org (Urs Janßen)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Tue, 30 Jan 2024 23:04:14 -0000 (UTC)
Organization: tin.org
Archive: no
Message-ID: <upbv9e$ttbv$1@news.trigofacile.com>
References: <uojmpn$ajui$1@dont-email.me> <uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me> <uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me> <uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me> <uop2ic$2lat$2@news.trigofacile.com> <uopgfj$1fkna$1@dont-email.me> <up9b3q$leir$1@dont-email.me>
Injection-Date: Tue, 30 Jan 2024 23:04:14 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="Urs"; posting-host="akk21-int.akk.kit.edu:2a00:1398:5:f602:cafe:cafe:cafe:21";
logging-data="980351"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: tin/2.6.4-20231224 ("Banff") (Linux/5.10.0-25-amd64 (x86_64))
Cancel-Lock: sha1:rXAHbSVuZ2q0GfnsW2bKTJU/PZE=
sha1:2RZV48/LSC91kmep9rVMWafcXuY= sha256:jMWgBKyiNCryAeNxmPiiORkFDHRO7RsbieSZS8d0V24=
sha1:UitseOtwUiJJ5x6MWLeCwDHSv+s= sha256:k6yxg3Rw5VT8NAX+sph2X3apkoDiO8WTQUoyrAC0hqg=
X-No-Archive: yes
X-No-HTML: yes
 by: Urs Janßen - Tue, 30 Jan 2024 23:04 UTC

salahuddin wrote:
> I added "Moderation without server" using IMAP.
> https://netuse.dynamicmalloc.com/usenet_mod_dev.html

no need to install tin, tinews.pl can be fetched from
<http://bzr.tin.org/tools/tinews.pl>
<ftp://ftp.tin.org/pub/news/clients/tin/tools/tinews.pl>

| Configure tin with server host, login, and password.
^^^ tinews.pl

tinews.pl looks for a config in (first match counts)
$XDG_CONFIG_HOME/tinewsrc
$HOME/.config/tinewsrc
$HOME/.tinewsrc
as "option=value" configuration pairs, last match counts and only
"value" is case sensitive. Available config options are those listed
via tinews.pl --help --verbose. Env.-vars and cmd-line options do override
the config settings. See "tinews.pl --help --verbose" and
"pod2man tinews.pl | man -l -".

Re: NEWSGROUP MODERATION DEV GUIDE

<upc756$17gpi$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2878&group=news.software.nntp#2878

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Wed, 31 Jan 2024 02:18:29 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <upc756$17gpi$1@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
<uop2ic$2lat$2@news.trigofacile.com> <uopgfj$1fkna$1@dont-email.me>
<up9b3q$leir$1@dont-email.me> <upbg44$tmqu$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 31 Jan 2024 01:18:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7c0d67ebe81f12f9df3f653e29797a3e";
logging-data="1295154"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Y4ss/FjoRnIB+fgwWkljT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ejgkf2hj0uN+Vv7LMlYGg8zxuLw=
Content-Language: en-US
In-Reply-To: <upbg44$tmqu$1@news.trigofacile.com>
 by: salahuddin - Wed, 31 Jan 2024 01:18 UTC

On 1/30/24 19:45, Julien ÉLIE wrote:
> The name of the default NNTP server.  If nnrpdposthost is not set and
> UNIX domain sockets are not supported, nnrpd tries to hand off
> locally-posted articles through an INET domain socket to this server.
>
> actsync, getlist, inews, and nntpget also use this value as the default
> server to connect to.  In the latter cases, the value of the NNTPSERVER
> environment variable, if it exists, overrides this. The default value is
> unset.
>
> """
>
> Just tested, and it works for me.  I don't know why it does not for you.
> Maybe the easiest way is to just use the NNTPSERVER environment variable:
>

NNTPSERVER=HOST_NAME inews -h -P -p 119 < post_to_send.txt

Worked for me.

Thank you.

Re: NEWSGROUP MODERATION DEV GUIDE

<upc787$17gpi$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=2879&group=news.software.nntp#2879

  copy link   Newsgroups: news.software.nntp news.software.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: salahuddin66@bell01.com (salahuddin)
Newsgroups: news.software.nntp,news.software.misc
Subject: Re: NEWSGROUP MODERATION DEV GUIDE
Date: Wed, 31 Jan 2024 02:20:07 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <upc787$17gpi$2@dont-email.me>
References: <uojmpn$ajui$1@dont-email.me>
<uok08n$3n4mu$1@news.trigofacile.com> <uokaff$dmqa$1@dont-email.me>
<uomad0$3pllh$1@news.trigofacile.com> <uomq9i$u0ol$1@dont-email.me>
<uomqnp$sl7$1@news.trigofacile.com> <uomtfl$uept$1@dont-email.me>
<uop2ic$2lat$2@news.trigofacile.com> <uopgfj$1fkna$1@dont-email.me>
<up9b3q$leir$1@dont-email.me> <upbv9e$ttbv$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 31 Jan 2024 01:20:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7c0d67ebe81f12f9df3f653e29797a3e";
logging-data="1295154"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5gwmbTzyDbVVIfL4fTdkl"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8vvTgu6/mBpw4NX26vSN3ut2Qmw=
Content-Language: en-US
In-Reply-To: <upbv9e$ttbv$1@news.trigofacile.com>
 by: salahuddin - Wed, 31 Jan 2024 01:20 UTC

On 1/31/24 00:04, Urs Janßen wrote:
> salahuddin wrote:
>> I added "Moderation without server" using IMAP.
>> https://netuse.dynamicmalloc.com/usenet_mod_dev.html
>
> no need to install tin, tinews.pl can be fetched from
> <http://bzr.tin.org/tools/tinews.pl>
> <ftp://ftp.tin.org/pub/news/clients/tin/tools/tinews.pl>
>
> | Configure tin with server host, login, and password.
> ^^^ tinews.pl
>
> tinews.pl looks for a config in (first match counts)
> $XDG_CONFIG_HOME/tinewsrc
> $HOME/.config/tinewsrc
> $HOME/.tinewsrc
> as "option=value" configuration pairs, last match counts and only
> "value" is case sensitive. Available config options are those listed
> via tinews.pl --help --verbose. Env.-vars and cmd-line options do override

I added these changes.
https://netuse.dynamicmalloc.com/usenet_mod_dev.html

Thank you.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor