disk space requirements

Jeffrey M. Vinocur jeff at litech.org
Mon Nov 18 22:00:18 UTC 2002


On Mon, 18 Nov 2002, Paul Reilly wrote:

> > I think something is wrong -- are you using Cleanfeed to filter misplaced
> > binaries?  If so, have you updated it to handle yEnc?
>
> yep, we use cleanfeed. what is yEnc ?

A new binary encoding method that's become a major player recently.  In 
the "sub is_binary" section of Cleanfeed, you probably want to add one of 
the following.  The first one is from Russ; I don't actually remember who 
provided the second one, but I added it when I was trying to track down 
some misplaced binaries hoping it would be more aggressive.  I'm not sure 
if it's actually making a big difference.


    if ($hdr{__BODY__} =~ /^=ybegin (.+)$/m) {
        local $_ = $1;
        if (/line=/ and /size=/ and /name=/) {
            $Cache_Is_Binary = 1;
            return 1;
        }
    }

    if ($hdr{__BODY__} =~ 
m/^=ybegin[^\n]+\n(?>(?:=ypart[^\n]+\n)?)(?>[^\r\n]{62,999}\r?\n){40}/mo) 
{
        $Cache_Is_Binary = 1;
        return 1;
    }


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list