Deutsch English Français Italiano |
<u69160$g1t$1@shakotay.alphanet.ch> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER <schaefer@alphanet.ch> Newsgroups: fr.comp.usenet.serveurs Subject: Re: Rejet par cleanfeed / notification nnrpd (INN) Date: Tue, 13 Jun 2023 06:09:04 -0000 (UTC) Organization: Posted through news.alphanet.ch Message-ID: <u69160$g1t$1@shakotay.alphanet.ch> References: <u676lc$9qq$1@shakotay.alphanet.ch> <u67j37$1dr8g$1@news.trigofacile.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 13 Jun 2023 06:09:04 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="16445"; 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-24-amd64 (x86_64)) Cancel-Lock: sha256:zujgTU3nnuBy2xEYINeSpi59Apf5p2nlk8Ft9k0M5as= sha256:R2kOVZEWtl1qubmxov5+zZFURUAJWKROSH8GcVLrp1w= Bytes: 1861 Lines: 16 On Mon, 12 Jun 2023 19:02:31, Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote: >> Y-a-t-il une façon simple dans INN /etc/news/filter_innd.pl >> pour savoir que l'article est un post local qui vient d'être >> injecté? > > Si l'en-tête Injection-Info commence par "shakotay.alphanet.ch;", c'est > un post local me semble-t-il. > > Et alors s'il a une autre valeur ou n'est pas renseigné, tu mets un > return '' dès le début de filter_art() pour qu'il soit accepté. Merci, ok :) je pensais a une fonction style is_nnrpd_client() :) -- Attention: limitez le nombre de lignes de citation à l'essentiel, sinon je ne verrai pas votre réponse. Et si vous écrivez souvent des bobards, je ne vous lirai plus et je recommanderai (NoCeM) de ne plus vous lire.