Article View: news.admin.peering
Article #3814Re: Intercept articles with MIME attachments
From: Julien ÉLIE
Date: Sun, 04 Jan 2026 22:40
Date: Sun, 04 Jan 2026 22:40
28 lines
2088 bytes
2088 bytes
Hi Roberto,
> Given that I use cleanfeed
Couldn't you just use:
block_mime_html => 1, # block MIME encapsulated HTML
block_html_multipart => 1, # block all multipart with html sections
block_html => 1, # block native HTML (Content-Type
text/html)
block_html_images => 1, # block <img src> in non text/plain
messages
> if ($hdr{'Content-Type'} =~ /(multipart/mixed/) {
There's a syntax issue with "/" inside "/". You should escape it, and
remove the extra "(" inside:
/multipart\/mixed/
--
Julien ÉLIE
« – Heureusement, nous aurons bientôt le TGV !
– C'est quoi le tégévé ?
– C'est le Transport Gaulois Véloce. » (Astérix)
Technical Details
Message-ID:
<10jeq93$2lsba$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:f9e4:915:c1a:621c!not-for-mailReferences:
<10jeit9$c8j$1@gatto.corradoroberto.it> <10jeo3r$jd9$1@gatto.corradoroberto.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.2001:861:3f81:7990:f9e4:915:c1a:621c!not-for-mail From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Newsgroups: news.admin.peering Subject: Re: Intercept articles with MIME attachments Date: Sun, 4 Jan 2026 23:40:35 +0100 Organization: Groupes francophones par TrigoFACILE Message-ID: <10jeq93$2lsba$1@news.trigofacile.com> References: <10jeit9$c8j$1@gatto.corradoroberto.it> <10jeo3r$jd9$1@gatto.corradoroberto.it> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 4 Jan 2026 22:40:35 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2001:861:3f81:7990:f9e4:915:c1a:621c"; logging-data="2814314"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HNdowgDKqxXMz3wUUGfIMpmX+mQ= sha256:W49RetCalY4CwlAvdRPjdEYkfkT487Jb6Q287D9aVic= sha1:qCwPOFJh3LfnsrYcGG372aSMZf8= sha256:eYFiYGvP6U7i1ELhwfkk8rnwurb/lONu14OgIQvb93k= In-Reply-To: <10jeo3r$jd9$1@gatto.corradoroberto.it>