🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #67179

Re: Maximum length of 'subject' field in header ?

#67179
From: Dirk Nimmich
Date: Sat, 15 Nov 2003 15:45
44 lines
2679 bytes
Starmen wrote:
>  I'm developing my own binary newsreader and I'm wondering what
>  the maximum length of the 'subject' field in an article header
>  is.

In short: There is none.

> I've been trying to find information on the net but I haven't been
> able to find it.

You are developing a program without knowing any specification about
the topic? (Ok, rhetorical question. That seems to be normal these
days.)

Basic format:
RFC  822 <http://www.ietf.org/rfc/rfc822.txt>
RFC 1036 <http://www.ietf.org/rfc/rfc1036.txt>
RFC 2822 <http://www.ietf.org/rfc/rfc2822.txt>
USEFOR draft
<http://www.ietf.org/internet-drafts/draft-ietf-usefor-article-11.txt>

Encoding and declaration of content:
RFC 2045 <http://www.ietf.org/rfc/rfc2045.txt>
RFC 2046 <http://www.ietf.org/rfc/rfc2046.txt>
RFC 2047 <http://www.ietf.org/rfc/rfc2047.txt>
RFC 2183 <http://www.ietf.org/rfc/rfc2183.txt>
RFC 2231 <http://www.ietf.org/rfc/rfc2231.txt>
Content-Type database
<http://www.iana.org/assignments/media-types/index.html>

Transport:
RFC  977 <http://www.ietf.org/rfc/rfc977.txt>
RFC 2980 <http://www.ietf.org/rfc/rfc2980.txt>
NNTP draft
<http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-20.txt>

See also <http://www.tin.org/docs.html> for further references.

> Currently I have the limit set at 160 characters, but I'm not sure
> that this is enough.

No. If folded and (if needed) encoded properly, there is no limit at
all. (At least in theory.)
Technical Details
Message-ID: <bp5hml$8tt$05$1@news.t-online.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <3fb6228f$0$77542$c3e8da3@news.astraweb.com>

Show Full Headers
Complete Article Headers
Message-ID: <bp5hml$8tt$05$1@news.t-online.com>
Subject: Re: Maximum length of 'subject' field in header ?
Date: Sat, 15 Nov 2003 16:45:25 +0100
From: Dirk Nimmich <nimmich@muenster.de>
References: <3fb6228f$0$77542$c3e8da3@news.astraweb.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!newsfeed.vmunix.org!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 44
Sender: Dirk Nimmich <dirk@roxel.fqdn.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1068911125 05 9149 VzlzV376MuVpIyd 031115 15:45:25
X-Complaints-To: usenet-abuse@t-online.de
X-ID: bE05-uZQZekB3cXEncn2orqB3TJgR2wDwqN-CZwtD8vz9A9r6poD0N