parsing all headers for cleanfeed

Russ Allbery rra at
Thu Mar 28 23:51:37 UTC 2002

Marco d'Itri <md at Linux.IT> writes:
> On Mar 29, Russ Allbery <rra at> wrote:

>> The long-term ideal is for the Perl filter to be able to specify the list
>> of headers that it wants, or all if it wants all of them, and for INN

> What I need is a quick hack which lets me do this *now*...  I looked in
> the innd source but could not find something simple to use to parse the
> headers.

There is no simple header parser in INN.  INN's handling of the article is
very complex due to attempting to avoid memory copies wherever possible.
The best you'll be able to do for a quick hack is to dump all the headers
to the filter as a string and parse them in Perl.

Russ Allbery (rra at             <>

    Please send questions to the list rather than mailing me directly.
     <> explains why.

More information about the inn-workers mailing list