🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29491

Re: alt.binaries.sounds.mp3

#29491
From: Russ Allbery
Date: Wed, 01 Jul 1998 00:00
39 lines
1998 bytes
admin <admin@intergrafix.net> writes:

> alt.mag.playboy isn't any better either. it's supposedly a non-binary
> group, but all evidence to the contrary
>  1154337 ./playboy

> that's on a 3 day expiration.

# The following groups are allowed to have binary postings.
$binallowed = ('\.binae?r'
               . '|^alt\.anonymous\.messages' . "\$"
               . '|^de\.alt\.dateien'
               . '|^rec\.games\.bolo' . "\$");

[...]

# How we determine if a post is a binary.
sub is_binary {
    ($hdr{__BODY__} =~ m%(?:^[ \t>]*[A-Za-z0-9+/]{59,76}[ \r]*\n){40}%mo
     || $hdr{__BODY__} =~ m%(?:^[ \t>]*M[\x20-\x60]{59,60}[ \r]*\n){40}%mo);
}

[...]

        # Now for the slow check for misposted binary articles.
        if (!$binary && $hdr{Lines} > 100 && is_binary) {
            return reject 'Binary in non-binary group';
        }

Need to fix my filter to hash in the active file to do a *real* check for
moderated groups one of these days; right now I'm using a hack to bypass
this for moderated groups.  Otherwise, you catch stuff in groups like
rec.arts.anime.creative that you really don't mind having.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <m3btr9ta7q.fsf@windlord.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <m367hn5ehy.fsf@windlord.Stanford.EDU> <pbwl1.3290$kV3.2259694@news.giganews.com> <6nbme8$l78$1@news1.exit109.com> <m3ogvawkjd.fsf@windlord.Stanford.EDU> <6ncepq$c2n$1@news1.exit109.com> <6ndng6$t9r$4@ns2.intergrafix.net>

Show Full Headers
Complete Article Headers
Message-ID: <m3btr9ta7q.fsf@windlord.Stanford.EDU>
Subject: Re: alt.binaries.sounds.mp3
Date: Wed, 01 Jul 1998 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m367hn5ehy.fsf@windlord.Stanford.EDU> <pbwl1.3290$kV3.2259694@news.giganews.com> <6nbme8$l78$1@news1.exit109.com> <m3ogvawkjd.fsf@windlord.Stanford.EDU> <6ncepq$c2n$1@news1.exit109.com> <6ndng6$t9r$4@ns2.intergrafix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 367911511
Sender: eagle@windlord.Stanford.EDU
Organization: The Eyrie
Newsgroups: news.software.nntp