Article View: news.software.nntp
Article #78289Re: User-Agent and filter_innd.pl
From: Julien ÉLIE
Date: Sun, 16 Dec 2007 20:45
Date: Sun, 16 Dec 2007 20:45
70 lines
2989 bytes
2989 bytes
Hi Aioe, > From perl hook: > > 'User-Agent' header is missing. Since many newsreaders use it, it could be > useful here. Yes this header is missing in the documentation. *But*, it exists. It is something I posted to inn-bugs@ ml on May, 2nd 2007 but I have not had the time to do something for it since that day. ----- Message d'origine ----- Objet : Adding other headers in %hdr > Hi, > > First of all, there is a discrepancy between the actual > headers in %hdr and what is mentioned in hook-perl/python.pod; > indeed, these fields are missing in hook-perl.pod while > there are in innd.c: > > Xref > Date-Received > Posted > Posting-Version > Received > Relay-Version > X-Newsposter > User-Agent > X-Original-Message-ID > > > I believe they should be added to hook-perl.pod. Then > hook-perl.py should be updated accordingly. > > > By the way, can new headers be added? > Here is an interesting list: > > X-Complaints-To > NNTP-Posting-Date > In-Reply-To > X-No-Archive > X-Face > Mime-Version > Content-Transfer-Encoding > Cancel-Lock > Cancel-Key > > > Do you know other useful headers which could be appended > to that list? > > When a good list is set, there is only these fields to > add in innd.c, hook-perl/python.pod, tests\innd\fakeinnd.c > and samples\filter_innd.py (easy to do I believe but > I do not provide a patch because I do not know the exact > headers list you wish to add). We also have to take into account what USEFOR does regarding these headers. -- Julien ÉLIE « On ne peut jamais être neutre. Le silence est une opinion. » (Henri Moret)
Technical Details
Message-ID:
<fk42pv$26l$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!news.trigofacile.com!not-for-mailReferences:
<fk429i$f6e$1@aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <fk42pv$26l$1@news.trigofacile.com> Subject: Re: User-Agent and filter_innd.pl Date: Sun, 16 Dec 2007 21:45:20 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <fk429i$f6e$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!138.195.8.3.MISMATCH!news.ecp.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 70 NNTP-Posting-Host: goret.via.ecp.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1197837951 2261 138.195.145.8 (16 Dec 2007 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 16 Dec 2007 20:45:51 +0000 (UTC) In-Reply-To: <fk429i$f6e$1@aioe.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545