🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72824

Re: Sender header

#72824
From: Bill Davidsen
Date: Tue, 13 Dec 2005 21:20
31 lines
2889 bytes
Russ Allbery wrote:
> aioe <estasi@aioe.org> writes:
> 
> 
>>this seems false
>>nnrpd perl filter can delete headers (try:
>>delete $hdr{'somewhat'};
>>$hdr{'somewhat'} = undef; )
> 
> 
> Those changes aren't propagated back to the article that's actually
> posted.
> 
I just looked at that code, and my first thought is that the code is 
really ugly in there :-(

That said, it looks as if changes get propagated back to the article, if 
not why have all that code for HeaderModified. And while the *name* of 
the header won't go away with current code, the text can certainly be 
set to a null string, which is probably all the O.P. really needs.

To make delete work in the sense of make the header go away would 
require a change in the code to verify each header still exists, a 
somewhat formidable effort given the lack of comments in that section of 
the code. Of course an option to "DELETE_EMPTY_HEADERS" would clean up 
posting in general, and provide a way to delete as a side effect.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Technical Details
Message-ID: <lWGnf.544$kW.347@newssvr30.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!bcklog1.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!nx02.iad01.newshosting.com!newshosting.com!207.115.63.142.MISMATCH!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!1055e9ad!not-for-mail
References: <di3kbp$6bk$1@news.onet.pl> <di42n3$nsj$1@puck.litech.org> <87u0dftb14.fsf@windlord.stanford.edu> <pan.2005.12.13.08.37.40.846620@aioe.org> <87hd9czzeb.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <lWGnf.544$kW.347@newssvr30.news.prodigy.com>
Subject: Re: Sender header
Date: Tue, 13 Dec 2005 21:20:17 GMT
From: Bill Davidsen <davidsen@deathstar.prodigy.com>
References: <di3kbp$6bk$1@news.onet.pl> <di42n3$nsj$1@puck.litech.org> <87u0dftb14.fsf@windlord.stanford.edu> <pan.2005.12.13.08.37.40.846620@aioe.org> <87hd9czzeb.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!bcklog1.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!nx02.iad01.newshosting.com!newshosting.com!207.115.63.142.MISMATCH!newscon02.news.prodigy.com!prodigy.net!newsmst01b.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!1055e9ad!not-for-mail
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050729
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <87hd9czzeb.fsf@windlord.stanford.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 31
NNTP-Posting-Host: 207.115.54.38
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr30.news.prodigy.com 1134508817 ST000 207.115.54.38 (Tue,
NNTP-Posting-Date: Tue, 13 Dec 2005 16:20:17 EST
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: SCSYASJG@ZWMBWPP\JJB^\TDEZXXPGLLEXRZKB]MPXH@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM