Article View: news.software.readers
Article #77583Re: RFC1036 and header field max sizes
From: J.B. Moreno
Date: Fri, 27 Apr 2001 19:08
Date: Fri, 27 Apr 2001 19:08
33 lines
2451 bytes
2451 bytes
Tony Miller <cl00bie@flame.org> wrote: > I am in the process of trying to write a web based newsgroup reader/poster > (like the old dejanews) for a single newsgroup. I have pored over the > rfc, and searched the web, and I can't find information as to what the max > sizes for header fields are. > > o Are there no limits? > o Are the limits documented elsewhere? > o where do I find the limits if they exist. > > Thanks for any help you can provide. Basic limit is 997/998 bytes + 2 bytes for the CRLF. Except for the References header (which should be trimmed to keep it under this limit by removing the SECOND message id from the left as NEEDED) there really shouldn't be a problem (theoretically there could be a problem with long message-id's, but only if it is so long that it interfere's with NNTP commands, and a message-id that was almost 500 bytes would be an abomination, since it's generally less than 50 bytes). You should probably check the length of the Subject and make sure that it isn't too long, but this is more to make sure that the poster hasn't tried to stuff the body into the Subject than to prevent problems with technical limits. Depending upon the language of the group, give them 100-300 characters for the Subject and complain if they want it to be longer. (Or not if you don't want to). -- JBM "Your depression will be added to my own" -- Marvin of Borg
Technical Details
Message-ID:
<1esj1jz.3vtft61dqgethN%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.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!ralph.vnet.net!planbReferences:
<slrn9ej80s.bf7.cl00bie@io.jtan.com>Show Full Headers
Complete Article Headers
Message-ID: <1esj1jz.3vtft61dqgethN%planb@newsreaders.com>
Subject: Re: RFC1036 and header field max sizes
Date: Fri, 27 Apr 2001 15:08:21 -0400
From: planb@newsreaders.com (J.B. Moreno)
References: <slrn9ej80s.bf7.cl00bie@io.jtan.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!ralph.vnet.net!planb
Newsgroups: news.software.readers
Organization: NetNews BOFH wannabe
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|u
X|f8`cFDd*PaH8N*x>d^h
Mail-Copies-To: nobody
User-Agent: MacSOUP/2.4.4
Lines: 32
NNTP-Posting-Host: 166.82.184.110
X-Trace: ralph.vnet.net 988398342 166.82.184.110 (Fri, 27 Apr 2001 15:05:42 EDT)
NNTP-Posting-Date: Fri, 27 Apr 2001 15:05:42 EDT