Sujet : Re: yEnc-encoded articles in newsgroups
De : iulius (at) *nospam* nom-de-mon-site.com.invalid (Julien ÉLIE)
Groupes : news.admin.net-abuse.usenetDate : 04. Apr 2024, 12:55:22
Autres entêtes
Message-ID : <l77ipaFg8r8U1@mid.individual.net>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
Hi Wolfgang,
Sounds great with a one-line list of newsgroups, separated with a
space, thanks.
Done now.
Thanks. I'll also add support for that in perl-nocem as its legacy behaviour is to only take into account the first newsgroup in such a list. (It already coped with the syntax with several continuation lines.)
FYI, it will be useful with the perl-nocem program shipped with the
next release of INN (2.7.2) as I have added the possibility to only
process a subset of Message-IDs within a notice, according to specific
rules by the news admin (sort of a local function called like in
cleanfeed.local). Having the whole list of newsgroups will permit for
instance to process Message-IDs of articles posted to a newsgroup
actually carried by the server. Or more complex cases like processing
NoCeM notices for only a subset of newsgroups (if someone does not
want to cancel anything in some newsgroups) or not taking into account
notices from "john" or of a given type, except for a subset of
newsgroups.
Is that the -i option in perl-nocem (I'm using INN 2.8 snapshots)?
Exactly. There's an example of how to use it in the manual page.
Before the final release, I plan on adding two other features: a flag to save nocemized articles (like what saveart() does in Cleanfeed), and a flag to activate in daily Usenet reports the mention of notices which were unprocessed. This way, a news admin will have a way to find out possible new issuers or types.
Do you see other things which would be worthwhile having in perl-nocem while I'm working on it?
Is it an issue to open upstream to Cleanfeed, to fix the is_binary()
function?
Cleanfeed from Github does not handle Content-Type: multipart/mixed
except for HTML, so it was my own fault, obviously. Quick fix applied
now, is_binary() still misses lots of binary attachments encapsulated in
separate entities.
I think I will make Cleanfeed more Mime-aware (MIME::Parser) and add
local config variables for allowed/disallowed mime types when I find the time.
Thanks for your work, that sounds a great move!
-- Julien ÉLIE« – Poussez pas derrière ! – Pas si vite devant ! » (Astérix)