🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Blaz Zupan Mon, 06 Sep 1999 00:00
inn complaining "Line too long"
#39675
Author: Blaz Zupan
Date: Mon, 06 Sep 1999 00:00
38 lines
2332 bytes
I'm hitting what appears to be an arbirtrary limit on header line length in Inn.
A customer was trying to reply to a post in a newsgroup and his posting was
rejected with "Line 3 too long". I first thought it was line 3 of the body of
the message, but at closer inspection, it was the References: header. Because
this was a long thread with many participants, the References: header has grown
above 960 chars. When replying, another reference was added, which made the
References: header more than 1000 bytes long.

Here is the relevant source snippet from Inn:

    if (longline) {
        syslog(L_NOTICE, "%s toolong in post", ClientHost);
        Printf("%d Line %d too long\r\n", NNTP_POSTFAIL_VAL, longline);
        POSTrejected++;
        return;
    }

Now, this client was using Outlook Express to reply to the post. I tried
replying to the same post with slrn, and the posting was accepted just fine,
because slrn split the header on a couple of lines.

So, who is wrong here? Inn for choosing an arbitrary limit on the header length
or Outlook Express for not splitting the header? I scanned through the RFC's but
could not find anything too relevant to this case.

Currently I don't have any cure for this as we are outsourcing our news server
and I don't have any influence on the software the guys run. I just told the
customer to not reply to the message but post it as a new message with the same
subject (I know, a bad workaround).

Comments appreciated.

-- 
Blaz Zupan, blaz@amis.net, http://www.herbie.amis.net
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia

Re: inn complaining "Line too long"
#39668
Author: J. Moreno
Date: Mon, 06 Sep 1999 00:00
45 lines
2632 bytes
In article <slrn7t6s68.2m4l.blaz@titanic.medinet.si>, Blaz Zupan
<blaz@amis.net> wrote:

> I'm hitting what appears to be an arbirtrary limit on header line
> length in Inn. A customer was trying to reply to a post in a
> newsgroup and his posting was rejected with "Line 3 too long". I
> first thought it was line 3 of the body of the message, but at closer
> inspection, it was the References: header. Because this was a long
> thread with many participants, the References: header has grown above
> 960 chars. When replying, another reference was added, which made the
> References: header more than 1000 bytes long.
> 
-snip-

> Now, this client was using Outlook Express to reply to the post. I tried
> replying to the same post with slrn, and the posting was accepted just fine,
> because slrn split the header on a couple of lines.

OE 5 is supposed to have fixed this problem.
 
> So, who is wrong here? Inn for choosing an arbitrary limit on the
> header length or Outlook Express for not splitting the header? I
> scanned through the RFC's but could not find anything too relevant to
> this case.

OE, see RFC 821 and son-of-1036.
 
> Currently I don't have any cure for this as we are outsourcing our
> news server and I don't have any influence on the software the guys
> run. I just told the customer to not reply to the message but post it
> as a new message with the same subject (I know, a bad workaround).
> 
> Comments appreciated.

You might want to refer them to the GNKSA next time -- it'll show
whether a program does the trimming or not.  In this case I'd guess
they were using OE 4.71/2 and you could have recommended upgrading to
OE 5 (or switching to one of the better programs like Gravity or
Xnews).

-- 
John Moreno
January 1, 2000: 117 days away

Re: inn complaining "Line too long"
#39680
Author: meow
Date: Mon, 06 Sep 1999 00:00
19 lines
1199 bytes
Blaz Zupan <blaz@amis.net> wrote:

> above 960 chars. When replying, another reference was added, which made the
> References: header more than 1000 bytes long.

[...]

> So, who is wrong here? Inn for choosing an arbitrary limit on the
> header length

It's not arbitrary.  1000 octets is an ancient limit built into RFC
821.  One of the reasons INN uses that limit is to ensure that
moderated groups (which rely on mail) work.

> or Outlook Express for not splitting the header?

OE is broken, and not just because of header lengths.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads