Deutsch   English   Français   Italiano  
<t62i34$lot$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!aioe.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.usenet.serveurs
Subject: Modification =?ISO-8859-1?Q?d=27ent=EAtes?= dans filter_nnrpd.pl
Date: Wed, 18 May 2022 10:34:12 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <t62i34$lot$1@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 May 2022 10:34:12 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
	logging-data="22301"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64))
Cancel-Lock: sha256:GZq+oQARu0Qc9rGzqElF0uTE+jsQzfLws90zQDimuMY=
Bytes: 1306
Lines: 18

Bonjour,

J'essaie de faire ceci:

/etc/news/filter/filter_nnrpd.pl
sub filter_post {
    my $rval = "" ;             # assume we'll accept.

    $modify_headers = 1;
    $hdr{'X-ALPHANET-Test'} = 42;

    return $rval;
}

Toutefois, je n'observe pas de résultat jusqu'ici.  En ajoutant
un INN::syslog('notice', 'test'); je le vois cependant, donc le
code est appelé.

Une idée?