Path: ...!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176.143-2-105.abo.bbox.fr!not-for-mail From: =?UTF-8?Q?Julien_=c3=89LIE?= Newsgroups: fr.comp.usenet.serveurs Subject: =?UTF-8?Q?Re=3a_comment_ignorer_les_cancels_non_authentifi=c3=a9s?= Date: Thu, 24 Feb 2022 19:02:17 +0100 Organization: Groupes francophones par TrigoFACILE Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 24 Feb 2022 18:02:18 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="2577970"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Cancel-Lock: sha1:Owhqqqg3gODXSXw+nfDdCfynqcc= sha256:j30hG2KxCBvpuWi4t2JgbtIPqeo3ZCokuQ6uRBIkW00= sha1:KFVU2Lwbr4JaJXWtWa6X2vKMOlA= sha256:Qf5fpcOlCPYA/sxyq1ZlSBZrsBZxog+SfiavvRNQLSQ= In-Reply-To: Bytes: 3242 Lines: 54 Bonsoir Stéphane, >>> https://www.eyrie.org/~eagle/software/inn/docs/perl-nocem.html > > Merci pour ce rappel de la doc, il faudrait l'ajouter dans la doc > d'installation à la fin de la partie nocem. À quelle doc d'installation fais-tu allusion ? Est-ce la CHECKLIST ? (INSTALL ne parle pas de NoCeM.) Le lien est déjà bien dans la CHECKLIST, qui renvoie systématiquement aux man pages : Additional Configuration * You may want to configure the process of NoCeM notices used to cancel unwanted articles like spam (see the perl-nocem(8) man page). > En particulier à ce test auquel je n'avais pas pensé : > grephistory '' | perl-nocem J'avoue avoir souvent ajouté au fil des ans des commandes et exemples utiles dans les docs, lorsque j'en trouvais d'intéressantes qui facilitent certaines actions. La doc d'INN fait partie de mes propres notes personnelles :-) Je préfère la mettre à jour plutôt que d'avoir un fichier texte de commandes utiles sur mon serveur. Et du coup quand je recherche un truc, je vais souvent voir la doc ! >>> innflags: "-C" > > Sinon en moins violent (quoique...) : > > # Unremark this example function to log and reject all locally generated > # cancels. > # example... > sub local_filter_cancel { > if ($hdr{Control} =~ /cancel/i) { > if ($hdr{Path} =~ /\.free\.fr\!not\-for\-mail/i) { > saveart('bad.cancel','Cancels free'); > return reject('Cancel free'); Les Supersedes sont toujours honorés avec ce filtre (ce que ne fera pas innflags: "-C"). -- Julien ÉLIE « You and I are into a relationship, Alan, and the fact that you don't realize it doesn't give you license to be unfaithful. » (Melissa, Boston Legal 2.23)