Deutsch   English   Français   Italiano  
<tdgnlt$kia$1@ns507557.dodin.fr.nf>

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

Path: ...!weretis.net!feeder6.news.weretis.net!i2pn.org!dodin.fr.nf!.POSTED.82-64-122-108.subs.proxad.net!not-for-mail
From: jdd <jdd@dodin.org>
Newsgroups: fr.comp.usenet.serveurs
Subject: =?UTF-8?Q?Ratio_nombre_de_lignes_de_citation_/_nombre_de_lignes_de_?=
 =?UTF-8?Q?r=c3=a9ponse?=
Date: Tue, 16 Aug 2022 20:29:17 +0200
Organization: Le serveur de jdd pour fr*
Message-ID: <tdgnlt$kia$1@ns507557.dodin.fr.nf>
References: <tda5os$1n3$1@ns507557.dodin.fr.nf>
 <mn.72ae7e68139d6a1b.30872@free.fr--o.double.a.retirer-->
 <6d81d728-e950-498f-8b90-da9ffe0903ban@googlegroups.com>
 <62f8caaa$0$22066$426a34cc@news.free.fr>
 <62f94176$0$9137$426a74cc@news.free.fr> <tdbivp$dvd$1@shakotay.alphanet.ch>
 <tdg960$4s8$1@shakotay.alphanet.ch> <tdgdfh$i0d$1@ns507557.dodin.fr.nf>
 <tdgffo$vmi$1@shakotay.alphanet.ch> <tdgftk$27h$1@shakotay.alphanet.ch>
 <tdgg2v$iel$1@ns507557.dodin.fr.nf> <tdgmrs$t5g$1@shakotay.alphanet.ch>
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Aug 2022 18:29:17 -0000 (UTC)
Injection-Info: ns507557.dodin.fr.nf; posting-host="82-64-122-108.subs.proxad.net:82.64.122.108";
	logging-data="21066"; mail-complaints-to="abuse@dodin.fr.nf"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Content-Language: fr
In-Reply-To: <tdgmrs$t5g$1@shakotay.alphanet.ch>
Bytes: 2797
Lines: 46

oui, pardon, j'avais oublié de modifier le sujet :-(

Le 16/08/2022 à 20:15, Marc SCHAEFER a écrit :
> jdd <jdd@dodin.org> wrote:
>> un lien sur la façon de faire ce réglage?
> 
> As-tu un fichier /etc/news/filters/filter_nnrpd.pl ?
> 
> La config est au début de ce fichier.

on ne dirait pas

#!/usr/bin/perl -wc
# vim: shiftwidth=4 tabstop=4 autoindent smartindent smarttab

use strict;
use Digest::MD5;
our (%hdr, $modify_headers);

sub filter_post {

         # Hash the NNTP-Posting-Host header
     my $ctx = Digest::MD5->new;
         $ctx->add($hdr{'NNTP-Posting-Host'});
         $ctx->add("A touch of salt");
     $hdr{'NNTP-Posting-Host'} = $ctx->hexdigest;
         undef $hdr{'X-Trace'};

         # Modify headers for postings from the Reece Mail2News
         if ($hdr{'Mail-To-News-Contact'} =~ /abuse\@reece\.net\.au/) {
                 undef $hdr{'X-Complaints-To'};
                 $hdr{'Path'} = 'reece.net.au!not-for-mail';
         };

         # Refuse these From addresses
         if ($hdr{From} =~/
                         \@darkshado.ca/ix) {
                 return 'Sender address (From) is blacklisted';
         };

     $modify_headers = 1;
     return '';
}


-- 
mon serveur dodin.fr.nf