Article View: news.software.nntp
Article #75724Re: Problem with Approved headers
From: Alexander Bartolich
Date: Sun, 18 Mar 2007 21:51
Date: Sun, 18 Mar 2007 21:51
35 lines
2258 bytes
2258 bytes
Russ Allbery wrote:
> Iulius <iulius@nom-de-mon-site.com.invalid> writes:
>
>> Hmmm...
>> Thus the problem should be here.
>
>> The Sarge news server answers:
>> 200 news.ecp.fr InterNetNews server INN 2.4.3 (20050407 prerelease) ready
>
> Oh, yes, that pre-release is too old to have this fix.
> It was committed in December of 2005.
Too bad. We are using the same version.
And just got in an abuse report. :-(
The workaround is a change to function "filter_post" in
/etc/news/filter/filter_nnrpd.pl
if (exists( $hdr{'Approved'} ))
{
my $pattern = $MODERATOR_USER{$user};
unless(defined($pattern) && $hdr{'Newsgroups'} =~ m/$pattern/)
{
return "You are not allowed to send approved postings to this group."
}
}
where permissions are statically defined, e.g.
our %MODERATOR_USER = (
'alexander.bartolich@gmx.at'
=> '(^|,)(albasani\.|de\.admin\.net-abuse\.announce)',
);
--
Technical Details
Message-ID:
<etkc9o$mpl$2@news.albasani.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!not-for-mailReferences:
<etjtq0$bgd$1@guepard.ecp.fr> <87abyanvg4.fsf@windlord.stanford.edu> <etk98h$ldm$1@guepard.ecp.fr> <871wjmntxy.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <etkc9o$mpl$2@news.albasani.net> Subject: Re: Problem with Approved headers Date: Sun, 18 Mar 2007 21:51:52 +0000 From: Alexander Bartolich <alexander.bartolich@gmx.at> References: <etjtq0$bgd$1@guepard.ecp.fr> <87abyanvg4.fsf@windlord.stanford.edu> <etk98h$ldm$1@guepard.ecp.fr> <871wjmntxy.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!not-for-mail Newsgroups: news.software.nntp Organization: albasani.net Lines: 35 X-Trace: news.albasani.net ssuS2agWprvFmi35qGcGUGVkx3X1ZXuHluNiDFwzqkUkdk7jzG+R+0iecob881wbVVe3s2Dxh4PYYnPIjJtnLITLR/I0tfBbFl677Vy+S801J6SotPinvH7F1k2u1T44 X-Complaints-To: abuse@albasani.net NNTP-Posting-Date: Sun, 18 Mar 2007 21:51:52 +0000 (UTC) X-User-ID: xSEP+FLuNNHDcV2oxc5x35zgT5yU3itp/XRLYHcaavg= X-Editing-Begin: 2007-03-18 22:45:24 CET User-Agent: slrn/0.9.8.1pl1 (Linux) X-NNTP-Posting-Host: mBQievUtpgCCFg+0/noWH2W/qUTmUihSuXHP1H3GaUg= X-Editing-Close: 2007-03-18 22:51:33 CET