🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53928

Re: 441 Can't set system "X-Trace" header

#53928
From: Russ Allbery
Date: Thu, 23 Aug 2001 03:30
21 lines
1690 bytes
In news.software.nntp, madog <madog@madogcc.myip.org> writes:

> thanks, but i think this script is used to do the "strip" job,  is there
> anything i need to modify ?
> (i don't understand script language)

Yup, change this:

>         sed -e ${SEDCMD} ${TMPFILE} | sed -e ${SEDCMD2} > ${OUTFILE}

to:

    sed -e '/^NNTP-Posting-Host/d' -e '/^Xref/d' -e '/^X-Trace/' \
        ${TMPFILE} > ${OUTFILE}

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylk7zvbgh0.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylk7zvbgh0.fsf@windlord.stanford.edu>
Subject: Re: 441 Can't set system "X-Trace" header
Date: Thu, 23 Aug 2001 03:30:35 +0000
From: Russ Allbery <rra@stanford.edu>
References: <9m1glq$b90$1@mail.cn99.com> <ylsnejvbq5.fsf@windlord.stanford.edu> <9m1p8d$glh$1@mail.cn99.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.misc.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp,comp.os.linux.misc,news.admin.misc
Organization: The Eyrie
Lines: 20
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 998537436 3145 171.64.13.23 (23 Aug 2001 03:30:36 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)