πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80935

Re: filter_nnrpd.pl (maybe a bug)

#80935
From: Aioe
Date: Fri, 08 May 2009 13:56
45 lines
2518 bytes
Julien Γ‰LIE wrote:

> INN 2.4.x does not accept empty headers and only "delete" will work
> (but not on all headers!). Β "undef" does not delete the header but
> empties it for INN 2.4.x...

i'm not sure to have understood.

if $system_headers = "Path|From|Newsgroups|Subject|Control|Supersedes|
Followup\-To|Date|Organization|Lines|Sender|Approved|Distribution|Expires|
Message\-ID|References|Reply\-To|NNTP\-Posting\-Host|Mime\-Version|Content\-
Type|Content\-Transfer\-Encoding|X\-Trace|X\-Complaints\-To|NNTP\-Posting\-
Date|Xref|Injector\-Info|Summary|Keywords|Date\-Received|Received|Posted|
Posting\-Version|Relay\-Version|Bcc";

and

$user_agents = "X\-Newsreader|X\-Mailer|User\-Agent"; 



		2.4	2.5

$system_headers	undef	undef

$user_agents	delete	undef
			(delete?)

In-Reply-To		delete	undef

$all_others		delete	(delete?)
		undef	(undef)


is this right?

postfilter is able to detect which inn version is running so it's simple to 
write the code but i prefer to be sure before starting.
Technical Details
Message-ID: <gu1dmt$d83$1@aioe.org>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
References: <gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$1@aioe.org> <gtm6i9$eiq$1@tioat.net> <gtmvc6$k9a$1@aioe.org> <gtneib$eh4$1@news.trigofacile.com> <gtnioo$8ju$2@aioe.org> <gtq0p9$a7j$1@news.trigofacile.com> <gtq7ib$qm1$2@aioe.org> <gtq927$7fa$1@news.trigofacile.com> <gts4n5$e9q$1@aioe.org> <gtsj0i$e0o$1@news.trigofacile.com> <gtst92$85h$1@aioe.org> <gtsv12$trf$1@news.trigofacile.com> <gtvjpa$ptt$1@aioe.org> <gtvlut$h8q$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gu1dmt$d83$1@aioe.org>
Subject: Re: filter_nnrpd.pl (maybe a bug)
Date: Fri, 08 May 2009 15:56:32 +0200
From: Aioe <estasi@aioe.org>
References: <gtm4q0$qtg$1@aioe.org> <gtm52j$r2k$1@aioe.org> <gtm6i9$eiq$1@tioat.net> <gtmvc6$k9a$1@aioe.org> <gtneib$eh4$1@news.trigofacile.com> <gtnioo$8ju$2@aioe.org> <gtq0p9$a7j$1@news.trigofacile.com> <gtq7ib$qm1$2@aioe.org> <gtq927$7fa$1@news.trigofacile.com> <gts4n5$e9q$1@aioe.org> <gtsj0i$e0o$1@news.trigofacile.com> <gtst92$85h$1@aioe.org> <gtsv12$trf$1@news.trigofacile.com> <gtvjpa$ptt$1@aioe.org> <gtvlut$h8q$1@news.trigofacile.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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!aioe.org!not-for-mail
Newsgroups: news.software.nntp
Followup-To: news.software.nntp
Organization: Aioe.org
Lines: 45
NNTP-Posting-Host: g2Jb9ER653Nt6g29fLlMfA.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: abuse@aioe.org
NNTP-Posting-Date: Fri, 8 May 2009 13:56:45 +0000 (UTC)
X-Notice: Filtered by postfilter v. 0.7.8
Cancel-Lock: sha1:tFzAqcGfV65PGdDdElxipzpJimU=
User-Agent: KNode/0.99.01