Deutsch   English   Français   Italiano  
<te31bp$97a$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?Re=3a_refuser_les_posts_d=27un_utilisateur_=28=c3=a0_sa_d?=
 =?UTF-8?Q?emande=29?=
Date: Tue, 23 Aug 2022 19:04:56 +0200
Organization: Le serveur de jdd pour fr*
Message-ID: <te31bp$97a$1@ns507557.dodin.fr.nf>
References: <te03sg$l3t$1@ns507557.dodin.fr.nf>
 <te04nl$lbq$2@ns507557.dodin.fr.nf> <te05mr$agk$1@shakotay.alphanet.ch>
 <te08jc$h0e$2@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, 23 Aug 2022 17:04:57 -0000 (UTC)
Injection-Info: ns507557.dodin.fr.nf; posting-host="82-64-122-108.subs.proxad.net:82.64.122.108";
	logging-data="9450"; 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: <te08jc$h0e$2@shakotay.alphanet.ch>
Bytes: 1941
Lines: 32

Le 22/08/2022 à 17:50, Marc SCHAEFER a écrit :

> Solution 2: jdd met dans /etc/news/cleanfeed/cleanfeed.local quelque
> chose comme, dans local_filter_first:
> 
> if ($hdr{X-No-Dodin} eq 'yes') {
>     return reject('MV');
> }

si je fais un fichier cleanfeed.local comme ça (sans rien d'autre):

# vim: set tabstop=4 shiftwidth=4 expandtab syntax=perl: <- c'est mon 
éditeur préféré :-)

sub local_filter_first {

if ($hdr{X-No-Dodin} eq 'yes') {
    return reject('MV');
};

};

1;  #<- est-ce utile?

j'espère que le $config_dir est mis à jour quelque part, car la valeur 
indiquée dans cleanfeed n'est pas du tout la bonne pour moi 
(/usr/local/news/cleanfeed/etc), j'ai /etc/news/filter

merci
jdd

-- 
mon serveur dodin.fr.nf