Article View: news.software.nntp
Article #87738Re: New version of PyClean
From: Julien ÉLIE
Date: Mon, 05 Jun 2017 11:55
Date: Mon, 05 Jun 2017 11:55
23 lines
2202 bytes
2202 bytes
Hi Steve, > Thanks, I see what's happened. The new version includes new config > options but the config is only read on filter startup, not reload. I've > made a change now to reload the config in the filter_before_reload > function. Unfortunately that too will require a restart as the code > isn't refreshed by a 'ctlinnd reload filter.python'. I'm not sure if > there's a way to reinitialize the filter without stopping/starting inn. OK, thanks for having added a config reload in filter_before_reload(). Neither "clinnd python n" and then "y", nor "ctlinnd xexec all" worked to reload the filter. Indeed, only stopping/starting INN permitted to take the new version into account. Now in use. I'll let you know if I find again false positives. -- Julien ÉLIE « Avez-vous remarqué qu'à table les mets que l'on vous sert vous mettent les mots à la bouche ? » (Raymond Devos)
Technical Details
Message-ID:
<oh3grh$dog$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<slrnoj8gg9.6h1.steve@fleegle.mixmin.net> <oh1qod$ld6$1@news.trigofacile.com> <slrnojadrm.6h1.steve@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <oh3grh$dog$1@news.trigofacile.com> Subject: Re: New version of PyClean Date: Mon, 5 Jun 2017 13:55:29 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <slrnoj8gg9.6h1.steve@fleegle.mixmin.net> <oh1qod$ld6$1@news.trigofacile.com> <slrnojadrm.6h1.steve@fleegle.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 5 Jun 2017 11:55:30 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a7750011eb2892ec6b3f51.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:11eb:2892:ec6b:3f51"; logging-data="14096"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <slrnojadrm.6h1.steve@fleegle.mixmin.net> X-Received-Bytes: 2108 X-Received-Body-CRC: 1077585473