• Triplicate Entries in Newsgroups List - Ensuring Suck Mode Only

    From Byrl Raze Buckbriar@news0@octade.net to rocksolid.nodes.help on Mon Oct 14 06:45:28 2024
    From Newsgroup: rocksolid.nodes.help

    --Signature=_Mon__14_Oct_2024_01_45_08_-0500_RO56doJKs9Vc3ioE
    Content-Type: text/plain; charset=US-ASCII
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    I am configuring and testing a Rocksolid Light peer to pull and archive 91 = Usenet newsgroups, not counting the rocksolid groups.

    The goal is to suck the same list of newsgroups from several remote peers w= ithout making any attempt to push new articles to those peers that are wide=
    open. Push should only happen with the I2PN2 server. When I can ensure rel= iably against pushing to selected remotes I want to add several more sectio=
    ns for more remotes.

    Three identical sections in the menu.conf file appear like so:

    ```
    # Add your sections below:
    rocksolid:1:1
    I2PN2:1:1
    BLUEWORLDHOSTING:1:1
    MIXMIN:1:1
    ```

    The bottom three sections have the exact same list of Big8 and ALT newsgrou=
    ps in the same sorted order in their respective 'groups.txt' files. The top=
    'rocksolid' entry is pulling rocksolid groups only from I2PN2.

    Only 'rocksolid' and 'I2PN2' are configured with a username and password fo=
    r remote authentication. The remainder of these are not configured to authe= nticate. The remote username and remote password fields are left blank in t= heir respective <section>.inc.php files.

    After running the cron several times I began observing the log files and fi=
    le generation in <spool> directory and population of articles to the spool = visible via both web portal and newsreader software.

    I am concerned about several things:

    1. I do not want the rslight install to attempt to push articles to the wid=
    e open peers. I want to ensure this does not happen at all.

    2. I can't tell if this is happening under the hood. How might I check?

    3. I only want articles forwarded to peers for which a non-null, remote use= rname and password exist in the <section>.inc.php file. For instance, I wou=
    ld like to add an open server that allows unauthenticated posting, yet I wa=
    nt to ensure that this server will NOT try to forward to that remote. Even = though posting is possible, I want only to pull, never to push.

    4. The newsreader software (Sylpheed) shows three identical listings of eac=
    h newsgroup in the group list. How may I resolve this to show only one copy=
    of the group?

    5. I am concerned about pushing duplicates or unfiltered garbage from one s= erver to another and I want to ensure that there is a way to selectively en= force suck mode only for certain remote servers (the wide open ones).

    I have now disabled the bottom two peers in menu.conf until I can sort this=
    out.

    I thought about setting up a shield or transit peer, but I would like to se=
    e if it is possible to make do with just one Rocksolid install for this job.

    Advice on forming a reliable method to check and verify these issues will b=
    e very helpful.

    --=20
    Byrl Raze Buckbriar . OCTADE . < https://octade.net >
    Hacker Hotline . voice & SMS . (781) OCT-AGON
    KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

    --Signature=_Mon__14_Oct_2024_01_45_08_-0500_RO56doJKs9Vc3ioE
    Content-Type: application/pgp-signature

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

    iHUEARYIAB0WIQRneuMjkp+P7n1uq4moad1ZYOZmFwUCZwy99AAKCRCoad1ZYOZm F91zAP0Qr56f+YzaqMVCr297o+sQUyuaVZvjukZBrd3QllcecwEA8aa9h0E+9c58 ANMaH5ES0u38cDseDc75frXTu1WGUAQ=
    =eex6
    -----END PGP SIGNATURE-----

    --Signature=_Mon__14_Oct_2024_01_45_08_-0500_RO56doJKs9Vc3ioE--
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Oct 14 09:17:39 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    The goal is to suck the same list of newsgroups from several remote
    peers without making any attempt to push new articles to those peers
    that are wide open. Push should only happen with the I2PN2 server. When
    I can ensure reliably against pushing to selected remotes I want to add several more sections for more remotes.

    Three identical sections in the menu.conf file appear like so:

    <snip>

    After running the cron several times I began observing the log files and
    file generation in <spool> directory and population of articles to the
    spool visible via both web portal and newsreader software.

    I am concerned about several things:

    1. I do not want the rslight install to attempt to push articles to the
    wide open peers. I want to ensure this does not happen at all.

    In the config file (rslight.inc.php) you can disable posting by setting: 'readonly' => '1',

    For each section, you can have it's own config file:
    rocksolid.inc.php
    section2.inc.php
    etc.

    In this config file you can set all the settings from rocksolid.inc.php
    and either change them or let them remain. See example.inc.php in
    config_dir.

    ***BUT*** Having the same group names in multiple sections can cause
    issues. It is still possible that rslight will try to send via one of
    the other sections, as it searches sections when you post, then moves
    message to 'outgoing' dir in that section ($spooldir/outgoing). I will
    look at the code today to see how to avoid this.

    It should not try to send if readonly is set, but the group in multiple sections will defeat this. It should be reasonably simple to fix in the
    code.

    2. I can't tell if this is happening under the hood. How might I check?

    3. I only want articles forwarded to peers for which a non-null, remote username and password exist in the <section>.inc.php file. For instance,
    I would like to add an open server that allows unauthenticated posting,
    yet I want to ensure that this server will NOT try to forward to that
    remote. Even though posting is possible, I want only to pull, never to
    push.

    See above about 'readonly'. We can fix this.

    4. The newsreader software (Sylpheed) shows three identical listings of
    each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?

    Strange, I'll try to duplicate this on a test site so we can fix this
    issue.

    Again, it's not standard to have the same groups in multiple sections,
    but we should make it possible.

    I thought about setting up a shield or transit peer, but I would like to
    see if it is possible to make do with just one Rocksolid install for
    this job.

    We should be able to do this in rslight.

    Advice on forming a reliable method to check and verify these issues
    will be very helpful.

    I'll be messing with this on a test site today.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Oct 14 09:55:00 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 9:17:39 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    The goal is to suck the same list of newsgroups from several remote
    peers without making any attempt to push new articles to those peers
    that are wide open. Push should only happen with the I2PN2 server. When
    I can ensure reliably against pushing to selected remotes I want to add
    several more sections for more remotes.

    Three identical sections in the menu.conf file appear like so:

    <snip>

    After running the cron several times I began observing the log files and
    file generation in <spool> directory and population of articles to the
    spool visible via both web portal and newsreader software.

    I am concerned about several things:

    1. I do not want the rslight install to attempt to push articles to the
    wide open peers. I want to ensure this does not happen at all.

    In the config file (rslight.inc.php) you can disable posting by setting: 'readonly' => '1',

    For each section, you can have it's own config file:
    rocksolid.inc.php
    section2.inc.php
    etc.

    In this config file you can set all the settings from rocksolid.inc.php
    and either change them or let them remain. See example.inc.php in
    config_dir.

    ***BUT*** Having the same group names in multiple sections can cause
    issues. It is still possible that rslight will try to send via one of
    the other sections, as it searches sections when you post, then moves
    message to 'outgoing' dir in that section ($spooldir/outgoing). I will
    look at the code today to see how to avoid this.

    It should not try to send if readonly is set, but the group in multiple sections will defeat this. It should be reasonably simple to fix in the
    code.

    Ok, I see the first issue here.

    When rslight receives a request for a group, it checks to find the
    section for the group. This is done to handle moving groups from one
    section to another by admin, without breaking links. So, if you move 'rocksolid.nodes' from 'rocksolid' to 'otherstuff' and a browser
    requests it in 'rocksolid', rslight will automatically redirect them to 'otherstuff'.

    This causes an issue when the group is in multiple sections.

    So a question. Is the purpose of having the group in multiple sections
    simply to pull from multiple servers? If that is the case, set the extra sections in menu.conf to:

    extrasection:0:1 instead of extrasection:1:1

    This will remove it from the menu on the site, and remove it from
    rslight searching what section includes a group for display.

    Will this work for this one particular issue? I'm going to look into the duplicate listing of groups now and try to duplicate that.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Oct 14 10:38:42 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of
    each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php
    and has been pushed to devel (to gitlab).
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Oct 14 12:19:53 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 10:38:42 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of
    each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php
    and has been pushed to devel (to gitlab).

    This seems fine now in Sylpheed (or should be any newsreader).

    I now have checking in TWO places to make sure to NOT send if 'readonly'
    is '1' for a section. Once when you try to post, and another time if for
    some reason it gets past that, it will check again when trying to
    actually feed it to the remote server.

    This is logged in debug.log. I am still cleaning up reply codes so the newsreader has a useful reply for it's logs (and debugging). So far I
    have been unable to feed an article to a remote site if the section is readonly.

    If there are several sections with the same group, only a NON-readonly
    section will allow it to be sent to remote. If there is no NON-readonly
    section containing the group, posting will fail.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Byrl Raze Buckbriar@news0@octade.net to rocksolid.nodes.help on Mon Oct 14 19:54:26 2024
    From Newsgroup: rocksolid.nodes.help

    --Signature=_Mon__14_Oct_2024_14_48_28_-0500_sFvrG.sILvq3nCYL
    Content-Type: text/plain; charset=US-ASCII
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    On Mon, 14 Oct 2024 10:38:42 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:
    =20
    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.
    =20
    4. The newsreader software (Sylpheed) shows three identical listings of each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?
    =20
    This identical listing issue should be fixed now. The fix is in cron.php
    and has been pushed to devel (to gitlab).

    Thank you. I will test later today and report back.

    --=20
    Byrl Raze Buckbriar . OCTADE . < https://octade.net >
    Hacker Hotline . voice & SMS . (781) OCT-AGON
    KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

    --Signature=_Mon__14_Oct_2024_14_48_28_-0500_sFvrG.sILvq3nCYL
    Content-Type: application/pgp-signature

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

    iHUEARYIAB0WIQRneuMjkp+P7n1uq4moad1ZYOZmFwUCZw11jAAKCRCoad1ZYOZm F2j8AQCbz6nFgL9G3rDFBN1CQvil7i8AGP1SDjeol9a7lwNsjgD+L8rDqRzfAPGR KaBaPXsAbimyhi6s1e2uu44mQYTDnQI=
    =7+fj
    -----END PGP SIGNATURE-----

    --Signature=_Mon__14_Oct_2024_14_48_28_-0500_sFvrG.sILvq3nCYL--
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Byrl Raze Buckbriar@news0@octade.net to rocksolid.nodes.help on Mon Oct 14 19:54:31 2024
    From Newsgroup: rocksolid.nodes.help

    --Signature=_Mon__14_Oct_2024_14_54_25_-0500_xNq=f4wLbsl6v.zw
    Content-Type: text/plain; charset=US-ASCII
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    On Mon, 14 Oct 2024 09:55:00 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 9:17:39 +0000, Retro Guy wrote:
    =20
    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    The goal is to suck the same list of newsgroups from several remote
    peers without making any attempt to push new articles to those peers
    that are wide open. Push should only happen with the I2PN2 server. When
    I can ensure reliably against pushing to selected remotes I want to add
    several more sections for more remotes.

    Three identical sections in the menu.conf file appear like so:

    <snip>

    After running the cron several times I began observing the log files a=
    nd
    file generation in <spool> directory and population of articles to the
    spool visible via both web portal and newsreader software.

    I am concerned about several things:

    1. I do not want the rslight install to attempt to push articles to the
    wide open peers. I want to ensure this does not happen at all.

    In the config file (rslight.inc.php) you can disable posting by setting: 'readonly' =3D> '1',

    For each section, you can have it's own config file:
    rocksolid.inc.php
    section2.inc.php
    etc.

    In this config file you can set all the settings from rocksolid.inc.php
    and either change them or let them remain. See example.inc.php in config_dir.

    ***BUT*** Having the same group names in multiple sections can cause issues. It is still possible that rslight will try to send via one of
    the other sections, as it searches sections when you post, then moves message to 'outgoing' dir in that section ($spooldir/outgoing). I will
    look at the code today to see how to avoid this.

    It should not try to send if readonly is set, but the group in multiple sections will defeat this. It should be reasonably simple to fix in the code.
    =20
    Ok, I see the first issue here.
    =20
    When rslight receives a request for a group, it checks to find the
    section for the group. This is done to handle moving groups from one
    section to another by admin, without breaking links. So, if you move 'rocksolid.nodes' from 'rocksolid' to 'otherstuff' and a browser
    requests it in 'rocksolid', rslight will automatically redirect them to 'otherstuff'.
    =20
    This causes an issue when the group is in multiple sections.
    =20
    So a question. Is the purpose of having the group in multiple sections
    simply to pull from multiple servers? If that is the case, set the extra sections in menu.conf to:

    Correct. The purpose is just to pull from multiple sources so that messages=
    missing or deleted from one peer might be possibly recovered from another = peer. This way there is more probability of getting all messages for the ar= chive.

    =20
    extrasection:0:1 instead of extrasection:1:1
    =20
    This will remove it from the menu on the site, and remove it from
    rslight searching what section includes a group for display.

    Makes sense.

    =20
    Will this work for this one particular issue? I'm going to look into the duplicate listing of groups now and try to duplicate that.

    Correct. There is no need to display all the sections. I will alter the con= fig to reflect this. I'm not going to run cron yet to test though, because =
    I am cautious that it might flood a bunch of necro posts to the wrong serve= r(s).

    --=20
    Byrl Raze Buckbriar . OCTADE . < https://octade.net >
    Hacker Hotline . voice & SMS . (781) OCT-AGON
    KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

    --Signature=_Mon__14_Oct_2024_14_54_25_-0500_xNq=f4wLbsl6v.zw
    Content-Type: application/pgp-signature

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

    iHUEARYIAB0WIQRneuMjkp+P7n1uq4moad1ZYOZmFwUCZw128QAKCRCoad1ZYOZm FzALAP9OIcaJeLQbj3jRf0DpK1wLOwjh/tDSVG6ejmamXI8kxAEA7dAHaPpBmMjM SVf8Uwa1jBxcmt8lFtF7fvm54k82uw4=
    =wWL3
    -----END PGP SIGNATURE-----

    --Signature=_Mon__14_Oct_2024_14_54_25_-0500_xNq=f4wLbsl6v.zw--
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Byrl Raze Buckbriar@news0@octade.net to rocksolid.nodes.help on Mon Oct 14 19:54:28 2024
    From Newsgroup: rocksolid.nodes.help

    --Signature=_Mon__14_Oct_2024_14_53_18_-0500_Kz+U=7EOsyqU07ML
    Content-Type: text/plain; charset=US-ASCII
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    On Mon, 14 Oct 2024 12:19:53 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 10:38:42 +0000, Retro Guy wrote:
    =20
    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive
    91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of
    each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php and has been pushed to devel (to gitlab).
    =20
    This seems fine now in Sylpheed (or should be any newsreader).
    =20
    I now have checking in TWO places to make sure to NOT send if 'readonly'
    is '1' for a section. Once when you try to post, and another time if for
    some reason it gets past that, it will check again when trying to
    actually feed it to the remote server.
    =20
    This is logged in debug.log. I am still cleaning up reply codes so the newsreader has a useful reply for it's logs (and debugging). So far I
    have been unable to feed an article to a remote site if the section is readonly.
    =20
    If there are several sections with the same group, only a NON-readonly section will allow it to be sent to remote. If there is no NON-readonly section containing the group, posting will fail.

    That sounds right. I plan to check it out this evening. It looks like you m= erged 'devel' branch. Does that mean the changes are all in 'master' now?

    --=20
    Byrl Raze Buckbriar . OCTADE . < https://octade.net >
    Hacker Hotline . voice & SMS . (781) OCT-AGON
    KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

    --Signature=_Mon__14_Oct_2024_14_53_18_-0500_Kz+U=7EOsyqU07ML
    Content-Type: application/pgp-signature

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

    iHUEARYIAB0WIQRneuMjkp+P7n1uq4moad1ZYOZmFwUCZw12rgAKCRCoad1ZYOZm FxOOAQDulKTJOPadCz1BAnQ4f9oyOOgxyKttJ8Vq31ikF/8lNQD+JdjZR3CAyHdv u92Bq1BNrAqxtHHg6cg3bKiZEvVO1QM=
    =VmDI
    -----END PGP SIGNATURE-----

    --Signature=_Mon__14_Oct_2024_14_53_18_-0500_Kz+U=7EOsyqU07ML--
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Mon Oct 14 15:24:52 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 19:54:28 +0000, Byrl Raze Buckbriar wrote:

    On Mon, 14 Oct 2024 12:19:53 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 10:38:42 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive >>>> 91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of >>>> each newsgroup in the group list. How may I resolve this to show only
    one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php >>> and has been pushed to devel (to gitlab).

    This seems fine now in Sylpheed (or should be any newsreader).

    I now have checking in TWO places to make sure to NOT send if 'readonly'
    is '1' for a section. Once when you try to post, and another time if for
    some reason it gets past that, it will check again when trying to
    actually feed it to the remote server.

    This is logged in debug.log. I am still cleaning up reply codes so the
    newsreader has a useful reply for it's logs (and debugging). So far I
    have been unable to feed an article to a remote site if the section is
    readonly.

    If there are several sections with the same group, only a NON-readonly
    section will allow it to be sent to remote. If there is no NON-readonly
    section containing the group, posting will fail.

    That sounds right. I plan to check it out this evening. It looks like you merged 'devel' branch. Does that mean the changes are all in 'master' now?

    No, they are still in devel, which is pushed to gitlab. I'm still working
    on making sure it doesn't try to push articles to remote when it should
    not. It's a bit confusing mixing 'readonly', don't display in header, remote_server = '', etc. I'm trying to be careful to check the right things
    and not break something. I'm concerned that 'readonly' is not the
    appropriate thing to check, it's specifically whether to push to remote or
    not. I'll need some more time to work on that part.

    But the duplicate listings should be fixed in devel at this time.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Tue Oct 15 12:17:13 2024
    From Newsgroup: rocksolid.nodes.help

    On Mon, 14 Oct 2024 22:24:52 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 19:54:28 +0000, Byrl Raze Buckbriar wrote:

    On Mon, 14 Oct 2024 12:19:53 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 10:38:42 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive >>>>> 91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of >>>>> each newsgroup in the group list. How may I resolve this to show only >>>>> one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php >>>> and has been pushed to devel (to gitlab).

    This seems fine now in Sylpheed (or should be any newsreader).

    I now have checking in TWO places to make sure to NOT send if 'readonly' >>> is '1' for a section. Once when you try to post, and another time if for >>> some reason it gets past that, it will check again when trying to
    actually feed it to the remote server.

    This is logged in debug.log. I am still cleaning up reply codes so the
    newsreader has a useful reply for it's logs (and debugging). So far I
    have been unable to feed an article to a remote site if the section is
    readonly.

    If there are several sections with the same group, only a NON-readonly
    section will allow it to be sent to remote. If there is no NON-readonly
    section containing the group, posting will fail.

    That sounds right. I plan to check it out this evening. It looks like
    you merged 'devel' branch. Does that mean the changes are all in
    'master' now?

    No, they are still in devel, which is pushed to gitlab. I'm still
    working
    on making sure it doesn't try to push articles to remote when it should
    not. It's a bit confusing mixing 'readonly', don't display in header, remote_server = '', etc. I'm trying to be careful to check the right
    things
    and not break something. I'm concerned that 'readonly' is not the
    appropriate thing to check, it's specifically whether to push to remote
    or
    not. I'll need some more time to work on that part.

    But the duplicate listings should be fixed in devel at this time.

    Ok, I think I have it and I'm testing today on a test site.

    Disabling "remote push" will be handled in overrides.inc.php:
    // Disable pushing articles to remote server for these sections
    // (replace 'testsection...' with your choice of sections)
    'disable_remote_push' => array("testsectionone", "testsectiontwo"),

    This should make it simple to toggle on or off, and not send stuff by
    mistake because an admin forgets to toggle something like 'readonly',
    etc. Plus, you may not want the section to be readonly.

    Two things will disable pushing to remote:
    1. Section found in overrides.inc.php (as above)
    2. 'remote_server' => '',

    This code is in send.php, so at the last point (where pushing actually
    happens as spoolnews.php does not send articles).

    For now, I'm leaving the articles that might possibly appear in <spooldir>/<section>/outgoing (articles to be pushed) in that dir so we
    can see what's happening. There probably WILL be articles there, but
    that's fine. We just don't want them sent (once sent, they disappear
    from that dir). Blocking a push is logged to debug.log.

    The dir is pruned after a few days old articles. I'll remove them
    immediately in a future release.

    I hope to push this later today, unless I find a big issue. I'll post
    back here to let you know.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Retro Guy@retroguy@novabbs.com to rocksolid.nodes.help on Tue Oct 15 13:21:28 2024
    From Newsgroup: rocksolid.nodes.help

    On Tue, 15 Oct 2024 12:17:13 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 22:24:52 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 19:54:28 +0000, Byrl Raze Buckbriar wrote:

    On Mon, 14 Oct 2024 12:19:53 +0000
    Retro Guy <retroguy@novabbs.com> wrote:

    On Mon, 14 Oct 2024 10:38:42 +0000, Retro Guy wrote:

    On Mon, 14 Oct 2024 6:45:28 +0000, Byrl Raze Buckbriar wrote:

    I am configuring and testing a Rocksolid Light peer to pull and archive >>>>>> 91 Usenet newsgroups, not counting the rocksolid groups.

    4. The newsreader software (Sylpheed) shows three identical listings of >>>>>> each newsgroup in the group list. How may I resolve this to show only >>>>>> one copy of the group?

    This identical listing issue should be fixed now. The fix is in cron.php >>>>> and has been pushed to devel (to gitlab).

    This seems fine now in Sylpheed (or should be any newsreader).

    I now have checking in TWO places to make sure to NOT send if 'readonly' >>>> is '1' for a section. Once when you try to post, and another time if for >>>> some reason it gets past that, it will check again when trying to
    actually feed it to the remote server.

    This is logged in debug.log. I am still cleaning up reply codes so the >>>> newsreader has a useful reply for it's logs (and debugging). So far I
    have been unable to feed an article to a remote site if the section is >>>> readonly.

    If there are several sections with the same group, only a NON-readonly >>>> section will allow it to be sent to remote. If there is no NON-readonly >>>> section containing the group, posting will fail.

    That sounds right. I plan to check it out this evening. It looks like
    you merged 'devel' branch. Does that mean the changes are all in
    'master' now?

    No, they are still in devel, which is pushed to gitlab. I'm still
    working
    on making sure it doesn't try to push articles to remote when it should
    not. It's a bit confusing mixing 'readonly', don't display in header,
    remote_server = '', etc. I'm trying to be careful to check the right
    things
    and not break something. I'm concerned that 'readonly' is not the
    appropriate thing to check, it's specifically whether to push to remote
    or
    not. I'll need some more time to work on that part.

    But the duplicate listings should be fixed in devel at this time.

    Ok, I think I have it and I'm testing today on a test site.

    Disabling "remote push" will be handled in overrides.inc.php:
    // Disable pushing articles to remote server for these sections
    // (replace 'testsection...' with your choice of sections)
    'disable_remote_push' => array("testsectionone", "testsectiontwo"),

    This should make it simple to toggle on or off, and not send stuff by
    mistake because an admin forgets to toggle something like 'readonly',
    etc. Plus, you may not want the section to be readonly.

    Two things will disable pushing to remote:
    1. Section found in overrides.inc.php (as above)
    2. 'remote_server' => '',

    This code is in send.php, so at the last point (where pushing actually happens as spoolnews.php does not send articles).

    For now, I'm leaving the articles that might possibly appear in <spooldir>/<section>/outgoing (articles to be pushed) in that dir so we
    can see what's happening. There probably WILL be articles there, but
    that's fine. We just don't want them sent (once sent, they disappear
    from that dir). Blocking a push is logged to debug.log.

    The dir is pruned after a few days old articles. I'll remove them
    immediately in a future release.

    I hope to push this later today, unless I find a big issue. I'll post
    back here to let you know.

    This is now pushed to gitlab (in devel). I'm running it live on news.novabbs.org and of course on a test site.

    There are some new log entries in debug.log that show what config file
    is being used for each section:

    Oct 15 13:10:56 Using /etc/rslight/rslight.inc.php for spoolnews
    Oct 15 13:10:56 Using /etc/rslight/rslight.inc.php for rocksolid
    Oct 15 13:10:57 Using /etc/rslight/rslight.inc.php for french
    Oct 15 13:10:59 Using /etc/rslight/dupe.inc.php for dupe
    Oct 15 13:10:59 Remote disabled for dupe (no remote server)
    Oct 15 13:10:59 Using /etc/rslight/other2.inc.php for other2
    Oct 15 13:10:59 Remote disabled for other2 (no remote server)

    When overrides is used, it is logged to debug.log also.
    --
    Retro Guy
    --- Synchronet 3.21a-Linux NewsLink 1.2