🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69710

Re: Rejecting bad Message-IDs

#69710
From: J.B. Moreno
Date: Wed, 11 Aug 2004 20:58
42 lines
2717 bytes
In article <1092217938.3066.0@echo.uk.clara.net>, 
 Colin Wilson <colin@wilsonc.demon.co.uk> wrote:

> Juergen Helbing wrote:
> 
> > From what I saw in the UseFor drafts you can entirely forget about
> > plausibility checks on MsgIds in the future.
> 
> ...
> 
> Thanks Juergen and everyone else who responded!
> 
> Of course the problem with writing a newsreader is it has to work with as 
> many servers as possible.  So it's important that it generates Message-Ids 
> that are 'Standard' - so that they don't get rejected by for instance 
> 'Acme News Server - written in 1998 when "Great-Aunt of RFC 1036"' was the 
> latest thing!

That's not going to be a problem -- if anything the rules are getting
more lax not stricter.

As a newsreader author, you can't possibly be too strict about what
characters you allow in the message-id.

Basically it ought to be ASCII, with no quoting or escaping allowed, it
should have one and only one @ sign, " and \ and probably ' not allowed
(I'd have to check to be sure).

The RHS should be a domain name (some allow IP instead), technically it
should be the name used to connect to the server, but this has never
been enforced (except by servers that rewrite the MID anyway, so you
don't have to worry about them), and it's generally accepted that the
user can specify a domain that he controls (you have to trust him on
that).

Personally, I think that creating the message-id based upon the user's
email address (with appropriate checking of the user's address) is the
best thing to do.  Several clients do that, including the one I'm
using...

-- 
J.B. Moreno
Technical Details
Message-ID: <110820041658354453%planB@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!image.newsreader.com!planB
References: <20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <1092217938.3066.0@echo.uk.clara.net>

Show Full Headers
Complete Article Headers
Message-ID: <110820041658354453%planB@newsreaders.com>
Subject: Re: Rejecting bad Message-IDs
Date: Wed, 11 Aug 2004 16:58:35 -0400
From: "J.B. Moreno" <planB@newsreaders.com>
References: <20040809200002.772$KV@newsreader.com> <06047.b84200@liebchen.winews.net> <1092217938.3066.0@echo.uk.clara.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!image.newsreader.com!planB
Newsgroups: news.software.nntp
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
User-Agent: Thoth/1.9.0 (Carbon/OS X)
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h
X-Trace: image.newsreader.com KeDfKYy39hL-vwTlUiSrC3ytitCV_fbj6usUCcW_Bw, zwMe2
Lines: 42