🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84390

Re: INN's mailpost script - requested change.

#84390
From: Julien ÉLIE
Date: Thu, 22 Sep 2011 20:57
34 lines
2557 bytes
Hi Russ,

>> Cf. Line 266's comment:  # 986 = 998 (maximum per RFC 5536) -
>> length("References: ")
>>
>> - Here' we're manipulating an UNFOLDED header.  Whoever wrote that comment
>> also believes that 998 bytes is the unfolded limit.

No.


> The comment seems to be buggy, indeed.

Yep, the comment should mention "RFC 5537, Section 3.4.4" instead of 
"RFC 5536".

3.4.4.  Construction of the References Header Field

    If the resulting References header field would, after unfolding,
    exceed 998 characters in length (including its field name but not the
    final CRLF), it MUST be trimmed (and otherwise MAY be trimmed).
    Trimming means removing any number of message identifiers from its
    content, except that the first message identifier and the last two
    MUST NOT be removed.


As a message-ID is less than 250 bytes, three message-IDs can be stored 
in 998 bytes.

-- 
Julien ÉLIE

« Ce serait un tunnel pour aller de la Gaule en Bretagne. »
   (Astérix)
Technical Details
Message-ID: <j5g7g7$8kd$2@news.trigofacile.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin3!goblin.stu.neva.ru!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-92-140.w83-199.abo.wanadoo.fr!not-for-mail
References: <j5e6c0$8ib$1@snarked.org> <87vcslti2y.fsf@windlord.stanford.edu> <j5e89d$k6f$1@snarked.org> <87r539tgkk.fsf@windlord.stanford.edu> <j5eo9u$mnd$1@snarked.org> <87sjno8gdc.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <j5g7g7$8kd$2@news.trigofacile.com>
Subject: Re: INN's mailpost script - requested change.
Date: Thu, 22 Sep 2011 22:57:43 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <j5e6c0$8ib$1@snarked.org> <87vcslti2y.fsf@windlord.stanford.edu> <j5e89d$k6f$1@snarked.org> <87r539tgkk.fsf@windlord.stanford.edu> <j5eo9u$mnd$1@snarked.org> <87sjno8gdc.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin3!goblin.stu.neva.ru!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-552-1-92-140.w83-199.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Sep 2011 20:57:43 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-552-1-92-140.w83-199.abo.wanadoo.fr:83.199.147.140";
 logging-data="8845"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; fr;
In-Reply-To: <87sjno8gdc.fsf@windlord.stanford.edu>
Lines: 33