Path: ...!2.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.usenet.serveurs Subject: Re: Annulation pour autrui avec Cancel-Lock Date: Tue, 23 Aug 2022 17:01:56 -0000 (UTC) Organization: Posted through news.alphanet.ch Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 23 Aug 2022 17:01:56 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="12607"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-21-amd64 (x86_64)) Cancel-Lock: sha256:Rm4ZHZjP2TvDxPY72lFvaCPXCH6ZS5DCvEoU8Q22Y2c= sha256:bUZXLwE1gLRTEF5p3i8nh6HjylJdaQOGlVcs/oV4fKE= Bytes: 1899 Lines: 13 In fr.comp.usenet.serveurs yamo' wrote: > Chez moi la clef est à l'endroit classique (avant INN 2.7.0) : > /etc/news/filter/filter_nnrpd.pl > dans la variable $CANCEL_LOCK Dans ce cas, c'est compliqué, car mon script totalement séparé d'INN n'a pas prévu de parser un autre programme en Perl pour y trouver une config, je suggère de soit passer partout à l'utilisation d'un fichier de config protégé comme il faut et séparé du code pour la clé (voir exemple [1]), ou alors copier-coller la clé: > my $cl = new cancel_lock('cle'); [1] https://git.alphanet.ch/gitweb/?p=alphanet-faq;a=blob;f=inn2/filter_nnrpd.pl