🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Johannes Eggers Fri, 19 Apr 2002 01:40
What should server do if client posts to newsgroup where posting is not allowed ?
#58272
Author: Johannes Eggers
Date: Fri, 19 Apr 2002 01:40
17 lines
1283 bytes
Let's assume a server responds to LIST as follows:

foo 1 0 y
foo.nopost 1 0 n

If a newsreader client posts a message (I used MS Outlook express for this)
to both groups at once, (and if I ignore the warning message), the message
will have both groups in the Newsgroups header.  Should the server modify
that header and drop the not-posting-permitted group from the header prior
to storage ?

Thanks,

 Johannes


Re: What should server do if client posts to newsgroup where posting is not allowed ?
#58274
Author: Russ Allbery
Date: Fri, 19 Apr 2002 03:17
26 lines
2098 bytes
Johannes Eggers <jeggers@tetrix.com> writes:

> Let's assume a server responds to LIST as follows:

> foo 1 0 y
> foo.nopost 1 0 n

> If a newsreader client posts a message (I used MS Outlook express for
> this) to both groups at once, (and if I ignore the warning message), the
> message will have both groups in the Newsgroups header.  Should the
> server modify that header and drop the not-posting-permitted group from
> the header prior to storage ?

The server should reject the article entirely.  In general, if there's
something wrong with an article, the server should always simply reject
the message rather than trying to repair it.  Otherwise, one runs the risk
(particularly in the presence of suck/rpost feeds) of propagating multiple
articles with the same message ID but various differences on the actual
article.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: What should server do if client posts to newsgroup where posting is not allowed ?
#58314
Author: Jeremy
Date: Fri, 19 Apr 2002 23:59
24 lines
1906 bytes
Johannes Eggers <jeggers@tetrix.com> wrote:

> Let's assume a server responds to LIST as follows:
> 
> foo 1 0 y
> foo.nopost 1 0 n
> 
> If a newsreader client posts a message (I used MS Outlook express for this)
> to both groups at once, (and if I ignore the warning message), the message
> will have both groups in the Newsgroups header.  Should the server modify
> that header and drop the not-posting-permitted group from the header prior
> to storage ?

Reject the article with some appropriate error text (no posting to
foo.nopost).  You can add your server-generated headers, but you should
not silently modify client-supplied ones; if there is something wrong
with a post, or if a header is provided which you don't allow clients to
provide, the post should be rejected.  An exception is that, given a
client-supplied Path header, you can add your path-stamp to it (where you
would normally add the whole header).

-- 
Jeremy  |  jeremy@exit109.com
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