Path: utzoo!attcan!uunet!wugate!wupost!kuhub.cc.ukans.edu!anu-news!list
From: munnari!csc.anu.oz.au!gih900@UUNET.UU.NET (Geoff Huston)
Newsgroups: news.software.anu-news
Subject: RE: Bug?  Problem?
Message-ID: <8908081121.AA20380@uunet.uu.net>
Date: 9 Aug 89 02:09:17 GMT
Sender: ANU-NEWS Discussion 
Reply-To: Geoff Huston 
Lines: 42

Tom Limoncelli writes --
     
>I am now getting a 1-newsgroup feed via MAIL.  To do this, I hacked
>up a quick filter which makes everything look just like it came by an
>unbatched mail-feed as usual.  The only difference is that since NEWS
>expects FROM: to be the first header-line, I did a really screwy
>hack.
     
It all depends if you do an EXTRACT/HEADER or EXTRACT/NOHEADER to get a file to
add into NEWS.... I assume you're doing an EXTRACT/NOHEADER.
     
>  Since I didn't want the filter to have to store up lines, etc
>until it got the FROM: line and then write that one out first.
>Instead, it generates:
>
>From: bogus
>Received: ...
>etc.
>etc.
>From: juser@etc.uucp
>Newsgroup: etc.
>etc. etc.
>
>With the 2 FROM lines, it seems as though News forgets the first one
>when it reads the second one.  This is exactly what I want and it
>works... usually.
     
No it works all the time - the parser is not that smart
     
>The problem is that many of the posts (10%?) go into the JUNK
>newsgroup.
>Is my (really ugly) hack causing these messages to go to JUNK, or is
>it some other bug I'm hitting?
     
This is not the bogus From: line... can you mail me a copy of a file which
fails please so I can hack at it??
     
     
Thanks,
     
Geoff Huston
gih900@csc1.anu.oz.au