🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Jon Bendtsen Mon, 11 May 2009 15:28
crossposting to existing and non-existing group gives no error
#80979
Author: Jon Bendtsen
Date: Mon, 11 May 2009 15:28
9 lines
1217 bytes
Hi

If i post to a existing group and a non-existing group i get no
error, the message is posted to the existing group. Is it possible
to get an error if not all groups are existing when i post?



JonB
Re: crossposting to existing and non-existing group gives no error
#80972
Author: Julien ÉLIE
Date: Mon, 11 May 2009 17:27
28 lines
2246 bytes
Hi Jon,

> If i post to a existing group and a non-existing group i get no
> error, the message is posted to the existing group. Is it possible
> to get an error if not all groups are existing when i post?

It depends on the news client.  At least Windows Mail warns the user
when a newsgroup does not exist.  I assume other news clients do that too.

Do you want an error from the news server (which one?) or from
a news reader (which one?)?


By the way, it makes me think that Cleanfeed could see that
but I do not know whether a configuration to block such messages
would be used by news administrators.
And as I look at that line:

    active_file => '',  # active file to determine which groups are moderated

I see a problem when the status of a newsgroup changes.  It is not
seen by Cleanfeed (the active file is loaded only at startup/reload).

-- 
Julien ÉLIE

« Pas question de faire voler un tapis volé ! » (Astérix) 
Re: crossposting to existing and non-existing group gives no error
#80975
Author: Jon Bendtsen
Date: Mon, 11 May 2009 20:51
21 lines
1831 bytes
Julien ÉLIE wrote:
> Hi Jon,
> 
>> If i post to a existing group and a non-existing group i get no
>> error, the message is posted to the existing group. Is it possible
>> to get an error if not all groups are existing when i post?
> 
> It depends on the news client.  At least Windows Mail warns the user
> when a newsgroup does not exist.  I assume other news clients do that too.

I tried with my Thunderbird and it did not give an error.
version 2.0.0.21 (20090302) for mac

> Do you want an error from the news server (which one?) or from
> a news reader (which one?)?

I would like an error from the news server, Debian Lenny, inn2 2.4.5-5



JonB
Re: crossposting to existing and non-existing group gives no error
#80976
Author: D. Stussy
Date: Mon, 11 May 2009 21:15
43 lines
2930 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gu9n5m$k39$1@news.trigofacile.com...
> > If i post to a existing group and a non-existing group i get no
> > error, the message is posted to the existing group. Is it possible
> > to get an error if not all groups are existing when i post?
>
> It depends on the news client.  At least Windows Mail warns the user
> when a newsgroup does not exist.  I assume other news clients do that
too.

Even the defective Micro$oft Outlook Express gives a warning and asks "post
anyway?"

> Do you want an error from the news server (which one?) or from
> a news reader (which one?)?

Definently NOT the server, or at least allow it to accept posts that
include at least one valid group (as is current behavior).

If someone is that concerned in peering, I recall there is a flag for
newsfeds that tells a server not to feed articles unless EVERY group the
article posted to exists (on the sending server in the peering).

> By the way, it makes me think that Cleanfeed could see that
> but I do not know whether a configuration to block such messages
> would be used by news administrators.

I would NOT.  However, if it were crossposted to some group I really didn't
want, that's why we have "poisoned" matching in newsfeeds.

> And as I look at that line:
>
>     active_file => '',  # active file to determine which groups are
moderated
>
> I see a problem when the status of a newsgroup changes.  It is not
> seen by Cleanfeed (the active file is loaded only at startup/reload).

As moderation status changes infrequently, is this really a concern?  With
software upgrades, I'm more likely to reboot the system than see a
moderation change.  ;-)

Re: crossposting to existing and non-existing group gives no error
#80978
Author: Julien ÉLIE
Date: Mon, 11 May 2009 21:41
51 lines
3296 bytes
Hi D. Stussy,

>> It depends on the news client.  At least Windows Mail warns the user
>> when a newsgroup does not exist.  I assume other news clients do that
>> too.
>
> Even the defective Micro$oft Outlook Express gives a warning and asks "post
> anyway?"

Yeah.
Windows Mail is very bad at quoting replies.  Except for that, it works
pretty fine for basic needs.  (And as I have basic needs, I am happy
with it -- I used Thunderbird for three years and gave up because
of random crashes [never seen with Windows Mail/Outlook Express,
as it might surprise you] and its slowness when it has to handle
huge mailboxes, though often "compressed" to remove deleted mails.)


>> Do you want an error from the news server (which one?) or from
>> a news reader (which one?)?
>
> Definently NOT the server, or at least allow it to accept posts that
> include at least one valid group (as is current behavior).

Yeah, that behaviour is more something a news client should implement
than a news server.
If a news server does it, it will have to *reject* the article, which
will be unpleasant for clients.  It could not be overriden.
Whereas if implemented in a news reader, a question can be asked.


> If someone is that concerned in peering, I recall there is a flag for
> newsfeds that tells a server not to feed articles unless EVERY group the
> article posted to exists (on the sending server in the peering).

Yep!  "Ae" and it works pretty well (I tested it the other day).


> As moderation status changes infrequently, is this really a concern?  With
> software upgrades, I'm more likely to reboot the system than see a
> moderation change.  ;-)

But for servers with no upgrade (for instance if they run Sarge), it could
be a problem.

-- 
Julien ÉLIE

« Le cercle est le plus long chemin d'un point au même point. »
  (Tom Stoppard, _Every Good Boy Deserves Favour_) 
Re: crossposting to existing and non-existing group gives no error
#80981
Author: Julien ÉLIE
Date: Mon, 11 May 2009 21:46
27 lines
2296 bytes
Hi Jon,

>> It depends on the news client.  At least Windows Mail warns the user
>> when a newsgroup does not exist.  I assume other news clients do that too.
>
> I tried with my Thunderbird and it did not give an error.
> version 2.0.0.21 (20090302) for mac

As I recall, previous versions (0.x and 1.x) did not do that either on Windows.


>> Do you want an error from the news server (which one?) or from
>> a news reader (which one?)?
>
> I would like an error from the news server, Debian Lenny, inn2 2.4.5-5

But what if other users on the news server want to crosspost?
It is something I sometimes use myself (I have news.software.nntp on
my news server but not news.admin.peering and it is useful to crosspost
to these groups in case I reply to an article that needs it).

-- 
Julien ÉLIE

« Joli paradoxe : la femme est le chef-d'ouvre de Dieu,
  surtout quand elle a le Diable au corps. » (Alphonse Allais) 
Re: crossposting to existing and non-existing group gives no error
#80983
Author: Jon Bendtsen
Date: Tue, 12 May 2009 07:34
25 lines
2136 bytes
Julien ÉLIE wrote:
> Hi Jon,
> 
>>> It depends on the news client.  At least Windows Mail warns the user
>>> when a newsgroup does not exist.  I assume other news clients do that
>>> too.
>>
>> I tried with my Thunderbird and it did not give an error.
>> version 2.0.0.21 (20090302) for mac
> 
> As I recall, previous versions (0.x and 1.x) did not do that either on
> Windows.
> 
> 
>>> Do you want an error from the news server (which one?) or from
>>> a news reader (which one?)?
>>
>> I would like an error from the news server, Debian Lenny, inn2 2.4.5-5
> 
> But what if other users on the news server want to crosspost?
> It is something I sometimes use myself (I have news.software.nntp on
> my news server but not news.admin.peering and it is useful to crosspost
> to these groups in case I reply to an article that needs it).

my server has no external servers or groups, only internal.
Re: crossposting to existing and non-existing group gives no error
#80984
Author: Jon Bendtsen
Date: Tue, 12 May 2009 07:41
26 lines
2054 bytes
Julien ÉLIE wrote:
> Hi D. Stussy,
> 

[cuuuuuut]

>>> Do you want an error from the news server (which one?) or from
>>> a news reader (which one?)?
>>
>> Definently NOT the server, or at least allow it to accept posts that
>> include at least one valid group (as is current behavior).
> 
> Yeah, that behaviour is more something a news client should implement
> than a news server.
> If a news server does it, it will have to *reject* the article, which
> will be unpleasant for clients.  It could not be overriden.
> Whereas if implemented in a news reader, a question can be asked.

It could be an option for the newsserver, so mine could reject and
yours not. My other solution would be to waste CPU resources trying
to create groups at EVERY post, even creating existing groups. I
dont like waste.



JonB
Re: crossposting to existing and non-existing group gives no error
#80985
Author: Steve Crook
Date: Tue, 12 May 2009 09:03
24 lines
2069 bytes
On Mon, 11 May 2009 19:27:15 +0200, Julien ÉLIE wrote in
Message-Id: <gu9n5m$k39$1@news.trigofacile.com>:

> By the way, it makes me think that Cleanfeed could see that
> but I do not know whether a configuration to block such messages
> would be used by news administrators.
At the moment Cleanfeed only makes use of the active file to determine
if groups are moderated.  It could be extended to sanity check a message
distribution but I don't think the functionality would be worth the
overhead of retaining a list of all groups in memory.

> And as I look at that line:
>
>     active_file => '',  # active file to determine which groups are moderated
>
> I see a problem when the status of a newsgroup changes.  It is not
> seen by Cleanfeed (the active file is loaded only at startup/reload).
True, although it's rare that a group switches its moderation flag.
I'll look to changing it so that the list is periodically refreshed.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: crossposting to existing and non-existing group gives no error
#80990
Author: Julien ÉLIE
Date: Tue, 12 May 2009 18:21
37 lines
2645 bytes
Hi Jon,

>> Yeah, that behaviour is more something a news client should implement
>> than a news server.
>> If a news server does it, it will have to *reject* the article, which
>> will be unpleasant for clients.  It could not be overriden.
>> Whereas if implemented in a news reader, a question can be asked.
>
> It could be an option for the newsserver, so mine could reject and
> yours not.

OK, here is a patch for INN 2.5.0rc2:
    http://inn.eyrie.org/trac/changeset/8460/trunk

A new inn.conf option named "verifygroups".  If set to true, a message
containing a nonexistent newsgroup will be rejected.

In <pathlog>/news:

  May 12 20:14:10.539 - ::1 <guce9i$ja7$1@news.trigofacile.com> 437 Nonexistent newsgroup "trigofacile.unknown"

The error message is also sent to the news reader.


> My other solution would be to waste CPU resources trying
> to create groups at EVERY post, even creating existing groups. I
> dont like waste.

I do not understand why you would like to create newsgroups at every post...
Anyway, I hope the patch I have just provided you fits your needs.


-- 
Julien ÉLIE

« Il y a trois façons de faire les choses : la bonne, la mauvaise, et la mienne. »
Re: crossposting to existing and non-existing group gives no error
#80991
Author: Julien ÉLIE
Date: Tue, 12 May 2009 18:23
28 lines
2336 bytes
Hi Steve,

> At the moment Cleanfeed only makes use of the active file to determine
> if groups are moderated.  It could be extended to sanity check a message
> distribution but I don't think the functionality would be worth the
> overhead of retaining a list of all groups in memory.

No need to do that with the new "verifygroups" option in INN.


>> And as I look at that line:
>>
>>     active_file => '',  # active file to determine which groups are moderated
>>
>> I see a problem when the status of a newsgroup changes.  It is not
>> seen by Cleanfeed (the active file is loaded only at startup/reload).
>
> True, although it's rare that a group switches its moderation flag.
> I'll look to changing it so that the list is periodically refreshed.

Thanks!

-- 
Julien ÉLIE

« Quod sis, esse uelis nihilque malis ;
  Summum nec metuas diem nec optes. » (Martial) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads