🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22070

Re: References and the GNKSA/U

#22070
From: Paul Mack
Date: Sat, 25 May 1996 00:00
154 lines
5938 bytes
Respondence for billy@mix.com ...

G'day billy,

On Tue, 21 May 1996 19:28:03 GMT,
you wrote to everyone via usenet ...

> Tim Pierce <twpierce@midway.uchicago.edu> writes:
>
> > In article <w8s20ki1lsd.fsf@hler.ifi.uio.no>,
> > Lars Magne Ingebrigtsen  <larsi@ifi.uio.no> wrote:
> >
> > >There are no limits to the lengths of header lines.
> >
> > NNTP limits lines to 512 characters.  I think this includes
> > message text as well as command lines, but I'm too tired to check.
>
> I for one would sure appreciate some definitive answer to this.
> Would you please check when you get some time?  My impression is
> this concerns command lines, not text delivered in response to
> any command - such as typing out articles themselves.
>
> > But it's still a non-problem.  Header lines can always be folded
> > on whitespace by any halfway-smart reader.
>
> True, but then there's the question of exactly where to fold.
> Would that be 510 bytes or less (allowing for line terminators)?
[X]
> So - if the max length has actually been defined anywhere I'd sure
> appreciate knowing exactly what it is.  510 seems safe for existing
> transport and reader software but - are these all 'broken' as well??

rfc 977 discusses nntp *commands* as being limited to 512 ...

Somewhere I thought I read that the practical limit was about 1000 chars
for the header/body ... but alas, my brain has a few failing sectors and
I just can't recall where I may have read this as fact.

There must be some limit in SMTP as each line is being checked for a "."
at both ends.

rfc 822, para 3.4.8, refers to long header lines as being considered >65-72
for folding, however this is not mandatory part of the specification.

rfc 1123, para 5.3.8, states that a body of 64 Kbytes must be handled
by smtp software.

I went off and had a little read, I found the 1000 character reference
in rfc 821 in fact a lot more so I'll quote from all of para 4.5.3 wrt
transport limitations of smtp.

This should be what you wanted to know ...
Note the opening comment that these are the maximum *sending* standards.
Usually the <CRLF> character(s) is counted as one character ...

Although my reader/mailer limitation is 32,000 characters
(2 byte, signed) I think may be I should now incorporate a check of
these line lengths ... Will my FastMail ever, ever get out of beta?  :-(

I would think that the "user name" length of 64 would refer to the
address atoms handed on to the server ... can anyone clear this ...

I wonder if including a summary of this info into a FAQ would be useful.

--- begin attachment ---

August 1982           RFC 821
Simple Mail Transfer Protocol

4.5.3.  SIZES

There are several objects that have required minimum maximum
sizes.  That is, every implementation must be able to receive
objects of at least these sizes, but must not send objects
larger than these sizes.


****************************************************
*                                                  *
*  TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION  *
*  TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH *
*  OF THESE OBJECTS SHOULD BE USED.                *
*                                                  *
****************************************************

user

   The maximum total length of a user name is 64 characters.

domain

   The maximum total length of a domain name or number is 64
   characters.

path

   The maximum total length of a reverse-path or
   forward-path is 256 characters (including the punctuation
   and element separators).

command line

   The maximum total length of a command line including the
   command word and the <CRLF> is 512 characters.

reply line

   The maximum total length of a reply line including the
   reply code and the <CRLF> is 512 characters.


text line

   The maximum total length of a text line including the
   <CRLF> is 1000 characters (but not counting the leading
   dot duplicated for transparency).

recipients buffer

   The maximum total number of recipients that must be
   buffered is 100 recipients.


****************************************************
*                                                  *
*  TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION  *
*  TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH *
*  OF THESE OBJECTS SHOULD BE USED.                *
*                                                  *
****************************************************

Errors due to exceeding these limits may be reported by using
the reply codes, for example:

   500 Line too long.

   501 Path too long

   552 Too many recipients.

   552 Too much mail data.

--- end attachment ---

Regards, Paul.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Paul Mack <paulmack@minerva.dialix.oz.au> :::: Melbourne - Australia ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

>> "I'll be Bach." - Johann Sebastian Schwarzenegger. <<

Technical Details
Message-ID: <352100741435185@minerva.dialix.oz.au>
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!not-for-mail
References: <4nern8$ke6@bubhome.frmug.fr.net> <4njpko$i10@due.unit.no> <w8sivduqeou.fsf@eistla.ifi.uio.no> <4nt5g3$so6@nnrp1.news.primenet.com>

Show Full Headers
Complete Article Headers
Message-ID: <352100741435185@minerva.dialix.oz.au>
Subject: Re: References and the GNKSA/U
Date: Sat, 25 May 1996 00:00:00 +0000
From: Paul Mack <paulmack@minerva.dialix.oz.au>
References: <4nern8$ke6@bubhome.frmug.fr.net> <4njpko$i10@due.unit.no> <w8sivduqeou.fsf@eistla.ifi.uio.no> <4nt5g3$so6@nnrp1.news.primenet.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!not-for-mail
X-Deja-AN: 156867708
X-mail/newsagent: Copyright 1996 by Paul Mack <fastmail@minerva.dialix.oz.au>
Organization: The Tellurian Telegraph Station #42
Comments: Runs on DOS for IBM compats: "FastMail for all your UUCP Mail connects".
Newsgroups: news.software.readers