Idea for article filter in storage.conf

Alex Kiernan alexk at demon.net
Tue Jun 11 08:40:56 UTC 2002


"Marco d'Itri" <md at Linux.IT> writes:

> On Jun 10, Alex Kiernan <alexk at demon.net> wrote:
> 
>  >Sorry I didn't put my original statement too well - its more that
>  >cleanfeed is in the wrong place in the article flow to do what we
>  >want.
> My point is that since it's going to parse the articles for its own
> needs then it could also export back to INN the classification.
> E.g. INN could export a magic %arttype hash in which cleanfeed could
> set keys like $arttype{binary} = 1 and $arttype{multipart} = 1.
> 

Completely agree.

> I do not understand why you say it's in the wrong place, since the
> filters are one of the first steps in article processing the results can
> be shared with the rest of the chain.

Its actually that we don't want to push all the articles through the
filter, only a subset.

> And I agree that it would be very useful to have these values available
> to newsfeeds too.
> 
>  >> While you are poking at the perl interface I have a feature request:
>  >> I need to silently discard articles so that nnrpd still reports success
>  >> to the user (and maybe without adding the Message-ID to the history so I
>  >> can manually inject them if appropriate).
>  >> I know that the nnrpd perl filter can do it, but I do not want to run a
>  >> perl interpreter in each nnrpd.
>  >Not sure I follow - is this at article injection time?
> Yes, I want to return a magic status from the perl filter which will tell
> innd to silently discard the article but still report success to nnrpd.
> 

OK, understand.

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list