Article View: news.software.nntp
Article #79544Re: Postfilter 0.7.3
From: Aioe
Date: Wed, 22 Oct 2008 20:05
Date: Wed, 22 Oct 2008 20:05
53 lines
2213 bytes
2213 bytes
Julien ΓLIE wrote:
> Maybe something to prevent people from posting approved messages (in a
> list of moderated newsgroups?
postfilter does this
--------------
if ( $hdr{'Approved'} ne "" )
{
&syslog_filter( "(Auto)Approved Message -> Approved:$hdr{'Approved'}", 3 );
return 3;
}
-------------
> Something about cancels and supersedes?
cancels are supported, supersedes are mssing.
-------------
if (
(
( $hdr{'Control'} ne "" ) and
( $hdr{'Control'} !~ /^cancel\ /i )
) or
(
( $config{'allow_control_cancel'} eq "false" ) and
(
( $hdr{'Control'} =~ /^cancel\ /i ) or
( $hdr{'Supersedes'} ne "" ) or
( $hdr{'Replaces'} ne "" ) or
( $hdr{'Also-Control'} ne "" )
)
)
)
{
&syslog_filter( "Invalid control message", 1 );
return 1;
}
-------------
i'll release a new version asap (tomorrow or Friday) with this improvement,
thank you.
Technical Details
Message-ID:
<gdo136$hks$1@aioe.org>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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!aioe.org!not-for-mailReferences:
<gdnedl$9an$1@aioe.org> <gdnmpb$1e5$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <gdo136$hks$1@aioe.org> Subject: Re: Postfilter 0.7.3 Date: Wed, 22 Oct 2008 22:05:26 +0200 From: Aioe <estasi@aioe.org> References: <gdnedl$9an$1@aioe.org> <gdnmpb$1e5$1@news.trigofacile.com> 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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!aioe.org!not-for-mail Newsgroups: news.software.nntp Organization: Aioe.org Lines: 53 NNTP-Posting-Host: 3ljSD/7jTH3ULAdmQQVt4w.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Complaints-To: abuse@aioe.org NNTP-Posting-Date: Wed, 22 Oct 2008 20:05:58 +0000 (UTC) User-Agent: KNode/0.10.4