🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Chris Barnes Wed, 23 Jun 1993 11:41
A bug in trn? Header isn't quite right
#4649
Author: Chris Barnes
Date: Wed, 23 Jun 1993 11:41
29 lines
2139 bytes
 
I hope there is someone here that can help shed some light on this.
 
I have discovered what I think is a bug in trn.  I moderate a newsgroup,
so all posts to that newsgroup come to me in mail form.  Those posts
from people using trn appear to have a problem with the header.
Specifically,
 
1) there is a blank line in the middle of the header.  According to
    RFC 822, the first blank line is used to delimit where the header
    starts and the body begins.
 
2) there are 2 From: lines.  The first in the upper half of the
    header (ie.  before the blank line) has the address of news@node
    (where node is the site address).  The second on in the bottom half
    (ie.  after the blank line), has the address of the person that
    actually sent the post.  Obviously, if I were to approve the post
    "as is", any replies meant to go back to the poster would go instead
    to the news administrator at the postser's site.
 
3) Many of the other important header tags are *only* found after the
    blank line (such as Subject:, Organization:, Keywords:, etc.).
    Again, if the article is approved "as is", those tags are lost.
 
      -----------------------------------------------------
Chris Barnes            |   President - Bryan/College Station
cbarnes@tamvm1.tamu.edu |         Retriever Club
(409) 846-3273 (home)   |   "Dedicated to the betterment of
(409) 845-8300 (work)   |               the retrieving breeds"
Re: A bug in trn? Header isn't quite right
#4657
Author: Wayne Davison
Date: Wed, 23 Jun 1993 17:17
20 lines
1600 bytes
According to Chris Barnes <CBARNES@tamvm1.tamu.edu>:
> I have discovered what I think is a bug in trn.

This is remarkably vague (-20 style pts for no version information :-) ).

> 1) there is a blank line in the middle of the header.
> 2) there are 2 From: lines.  The first in the upper half
> 3) Many of the other important header tags are *only* found after the
>     blank line

This is easy to diagnose.  The interaction of Pnews with your mailer is
screwed up -- it is mailing the entire article as a message (and adding
its own headers) rather than using the supplied headers.  It might not
even be Pnews that mailed it if you don't keep (or don't want) the file
"moderators" on the machine that posted your article.  In that case it
is the fault of the inews program that Pnews is using to post the article.
Some simple shell script investigation and you should have your system
configured properly.

.wayne..
who messes with the subject (was Re: A bug in trn?)
#4715
Author: Russell Schulz
Date: Sat, 26 Jun 1993 15:30
16 lines
1464 bytes
I have these two articles on disk:

From: CBARNES@tamvm1.tamu.edu (Chris Barnes)
Subject: A bug in trn?  Header isn't quite right
Message-ID: <16BF6A45B.CBARNES@tamvm1.tamu.edu>

From: davison@borland.com (Wayne Davison)
Subject: Re: A bug in trn? Header isn't quite right
Message-ID: <C9341o.BsK@borland.com>
References: <16BF6A45B.CBARNES@tamvm1.tamu.edu>

note how the Subject: line has changed spacing after the `?'.

what's doing that?!?  is it trn itself?  borland's Pnews?  what?
-- 
Russell Schulz  russell@alpha3.ersys.edmonton.ab.ca  ersys!rschulz  Shad 86c
Re: who messes with the subject (was Re: A bug in trn?)
#4720
Author: Wayne Davison
Date: Sun, 27 Jun 1993 23:42
10 lines
1148 bytes
According to Russell Schulz <russell@alpha3.ersys.edmonton.ab.ca>:
> note how the Subject: line has changed spacing after the `?'.
> what's doing that?!?

The culprit is a combination of mthreads (which compresses subjects for
comparison purposes -- it removes the space) and trn relying on the
cached subject when generating the reply.  This will be fixed in
trn 3.1 (a bug-fix release due out soon).

.wayne..
Re: A bug in trn? Header isn't quite right
#4718
Author: Chris Barnes
Date: Mon, 28 Jun 1993 10:54
40 lines
2481 bytes
In article <C9341o.BsK@borland.com>
      davison@borland.com (Wayne Davison) writes:
 
>
>According to Chris Barnes <CBARNES@tamvm1.tamu.edu>:
>> I have discovered what I think is a bug in trn.
>
>This is remarkably vague (-20 style pts for no version information :-) ).
 
Since *I* don't use trn, I suppose it could be any/all versions.  This
is a bug that I've observed in my duties as moderator where I get alot
of posts sent to me via mail......   The problem seems to be fairly
widespread.
 
 
>> 1) there is a blank line in the middle of the header.
>> 2) there are 2 From: lines.  The first in the upper half
>> 3) Many of the other important header tags are *only* found after the
>>     blank line
>
>This is easy to diagnose.  The interaction of Pnews with your mailer is
>screwed up -- it is mailing the entire article as a message (and adding
>its own headers) rather than using the supplied headers.  It might not
>even be Pnews that mailed it if you don't keep (or don't want) the file
>"moderators" on the machine that posted your article.  In that case it
>is the fault of the inews program that Pnews is using to post the article.
>Some simple shell script investigation and you should have your system
>configured properly.
 
 
I'll take your word for the problem (and I'll save your solution and
forward it to the news administrators at the offending sites when I
notice them).
 
Thanks
      -----------------------------------------------------
Chris Barnes            |   President - Bryan/College Station
cbarnes@tamvm1.tamu.edu |         Retriever Club
(409) 846-3273 (home)   |   "Dedicated to the betterment of
(409) 845-8300 (work)   |               the retrieving breeds"
Re: who messes with the subject (was Re: A bug in trn?)
#4809
Author: Russell Schulz
Date: Sun, 04 Jul 1993 16:03
10 lines
1171 bytes
davison@borland.com (Wayne Davison) writes:

> cached subject when generating the reply.  This will be fixed in
> trn 3.1 (a bug-fix release due out soon).

yay!

thanks.
-- 
Russell Schulz  russell@alpha3.ersys.edmonton.ab.ca  ersys!rschulz  Shad 86c
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