Path: ...!news.mixmin.net!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: Re: augmenter le niveau de log Date: Thu, 29 Sep 2022 21:48:42 +0200 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, 29 Sep 2022 19:48:42 -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="416075"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Cancel-Lock: sha1:E6GJVhUJpraXCqSR7PymulYDJ+E= sha256:6yNt0hshTpewYBM5aHYMWhCFpgea5vFfe8rfeTfVq+8= sha1:e+5uffg3Smc2ZAiINEIwJaOc0gU= sha256:qyNxCy9bTSvvKZpg+kkP3HaM0dzrYK1wYEz9ucJnCo4= In-Reply-To: Bytes: 3668 Lines: 41 Bonjour Marc, >> est-il possible d'augmenter le niveau de logs pour savoir quel en-tête >> est concerné? > > Je ne crois pas; par contre il serait peut-être mieux, comme recommandé > par Julien Élie il y a un moment, d'utiliser une véritable gateway > mail-to-news qui produise des articles valides, et si nécessaire utilise > directement rnews plutôt qu'inews. Oui tout à fait, ce serait vraiment mieux. Et sinon c'est surtout le niveau de logs de Postfilter qu'il faudrait augmenter car le rejet n'est pas dû à inews mais à Postfilter. inews n'y est pour rien ! D'après la conf par défaut dans postfilter/etc/rules.conf : ################################################################################# # # # Forbidden Headers # # (Headers that must not be forged) # # # ################################################################################# # our %forbidden_headers = ( # "Complaint", "^X\-Complaints\-To\$", # Reject every article that matches 'Complaint' as name except # X-Complaints-To "Post|NNTP", "^NNTP\-Posting\-Host\$|^NNTP\-Posting\-Date\$", # Protect NNTP-Posting-[Host|Date] "X\-Trace", "^X\-Trace\$", # X-Trace could include an IP "Path", "^Path\$", # some stupid person forges Path (with X-Real-Path). "Injection-Info", "^Injection-Info\$", # Google "Sender", "^Sender\$", # Sender is often forged "abuse", ".+", # every header with 'abuse' inside the name is a fake ); # -- Julien ÉLIE « Those who do not understand Unix are condemned to reinvent it, poorly. » (Henry Spencer)