🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #75760

Re: Problem with Approved headers

#75760
From: Alexander Bartolich
Date: Mon, 19 Mar 2007 07:19
37 lines
2649 bytes
Iulius wrote:
> En réponse à Alexander Bartolich :
>> 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
>> 
>>     my $pattern = $MODERATOR_USER{$user};
>
> Sure.  But there is still possibility to send articles with
> your e-mail...

Inside sub filter_post variable $user holds the authenticated login.
This is completely unrelated to the contents of From: or Reply-To:.

> The best is to authenticate.  As for one, I do a auth ckpasswd
> against a ldap since the readers connect with nntp/ssl

I use my own script and MySQL. 

> and then say in « readers.conf » which users are allowed to
> send approved articles.

Yeah. Only that it does not work right now.

Anyway, my workaround associates each user with a pattern of allowed
groups. This is more fine-grained control than readers.conf's all-or-
nothing approach.

> I know I can do the same with a perl filter hook, but as
> there is no emergency, I will wait for Etch :)

Well, I just received an abuse report from a moderator ...

-- 
http://news.albasani.net/
Technical Details
Message-ID: <etldhe$lmk$1@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-mail
References: <etjtq0$bgd$1@guepard.ecp.fr> <87abyanvg4.fsf@windlord.stanford.edu> <etk98h$ldm$1@guepard.ecp.fr> <871wjmntxy.fsf@windlord.stanford.edu> <etkc9o$mpl$2@news.albasani.net> <etkgg7$6pv$1@guepard.ecp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <etldhe$lmk$1@news.albasani.net>
Subject: Re: Problem with Approved headers
Date: Mon, 19 Mar 2007 07:19:10 +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> <etkc9o$mpl$2@news.albasani.net> <etkgg7$6pv$1@guepard.ecp.fr>
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: 37
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
 9e5pS5w8aY7ZK28OhcCoeP0Bic3n8hCVouNRXbUGG/ribOM7j5+ZMWlNDY1izU+ftgLz2v9PcX2kUrXPpvON6hzD2tEWeWkmdm3Wsw6/a2x8NZ5g0NO3MA247N6FlMVu
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Mon, 19 Mar 2007 07:19:10 +0000 (UTC)
X-User-ID: iGB3GzyE2Aaf8SCesJ0nZFW1xU8ylfEg/nsYFwdOdYI=
X-Editing-Begin: 2007-03-19 08:15:48 CET
User-Agent: slrn/0.9.8.1pl1 (Linux)
X-NNTP-Posting-Host: B2otC+muhCpe8JdruKdePAmw1ubFmG8k/Fon2rs9oso=
X-Editing-Close: 2007-03-19 08:20:49 CET