🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Steve Fri, 28 Nov 2008 14:30
Cleanfeed Webpages
#79765
Author: Steve
Date: Fri, 28 Nov 2008 14:30
15 lines
1352 bytes
Hi all,

Following the recent feedback I received about Cleanfeed, I've now put
together some webpages on how to install and configure it.  These can be
found at http://www.mixmin.net/cleanfeed/index.html.

There's also a new tarball of all the files available from
http://www.mixmin.net/cleanfeed/cleanfeed.tar.gz.

Feedback and suggestions will be gratefully received.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed Webpages
#79764
Author: Gary L. Burnore
Date: Fri, 28 Nov 2008 17:27
27 lines
2298 bytes
On Fri, 28 Nov 2008 14:30:20 +0000 (UTC), Steve <steve@mixmin.net>
wrote:

>Hi all,
>
>Following the recent feedback I received about Cleanfeed, I've now put
>together some webpages on how to install and configure it.  These can be
>found at http://www.mixmin.net/cleanfeed/index.html.
>
>There's also a new tarball of all the files available from
>http://www.mixmin.net/cleanfeed/cleanfeed.tar.gz.
>
>Feedback and suggestions will be gratefully received.

Add a credits page so people know who wrote cleanfeed and how it got
to where it is now.
-- 
gburnore at DataBasix dot Com 
---------------------------------------------------------------------------
                    How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore                       |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
.                                     |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. |  ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
.                                     |  ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.|     Official Proof of Purchase
===========================================================================
Re: Cleanfeed Webpages
#79766
Author: Julien ÉLIE
Date: Fri, 28 Nov 2008 21:15
24 lines
1995 bytes
Hi Steve,

> Following the recent feedback I received about Cleanfeed, I've now put
> together some webpages on how to install and configure it.  These can be
> found at http://www.mixmin.net/cleanfeed/index.html.

I have only one word:

    ___        _______ ____   ___  __  __ _____ _
   / \ \      / / ____/ ___| / _ \|  \/  | ____| |
  / _ \ \ /\ / /|  _| \___ \| | | | |\/| |  _| | |
 / ___ \ V  V / | |___ ___) | |_| | |  | | |___|_|
/_/   \_\_/\_/  |_____|____/ \___/|_|  |_|_____(_)



Thanks, Steve, it is a very nice work.

-- 
Julien ÉLIE

« There's a way of transferring funds that is even faster
  than electronic banking.  It's called marriage. » (Sam Kinison)
Re: Cleanfeed Webpages
#79768
Author: Matija Nalis
Date: Sat, 29 Nov 2008 19:57
30 lines
2297 bytes
On Fri, 28 Nov 2008 14:30:20 +0000 (UTC), Steve <steve@mixmin.net> wrote:
> Following the recent feedback I received about Cleanfeed, I've now put
> together some webpages on how to install and configure it.  These can be
> found at http://www.mixmin.net/cleanfeed/index.html.

Wow. Haven't seen this much detailed cleanfeed docs in last... well, I've never
seen this much detaild cleanfeed docs :-)
I've browsed the source several times, and still find bits I missed or
skipped over. Thanks!

> Feedback and suggestions will be gratefully received.

Just one for now, in http://www.mixmin.net/cleanfeed/config.html
you say for active_file: 

"The location of the INN active file. This is required for Cleanfeed to be
able to identify which Newsgroups are Moderated. If you've installed from
source, it should be /usr/local/news/db/active. Please make sure it's set
correctly, it plays an important role in filtering Moderated groups."

I was under impression that is only used in non-inn installations, and if
left blank, the cleanfeed would use "INN::newsgroup($_) eq 'm'" check to
determine if group is moderated (which seems better to me, as it would
update automatically without need to reload cleanfeed to get new moderation
status, as I presume is needed for "active_file" ?)

Thanks again for all the work!

-- 
Opinions above are GNU-copylefted.
Re: Cleanfeed Webpages
#79770
Author: Steve
Date: Sat, 29 Nov 2008 21:55
24 lines
2019 bytes
On Sat, 29 Nov 2008 20:57:25 +0100, Matija Nalis wrote in
Message-Id: <slrngj37l5.ge6.mnalis-news@eagle102.home.lan>:

> I was under impression that is only used in non-inn installations, and if
> left blank, the cleanfeed would use "INN::newsgroup($_) eq 'm'" check to
> determine if group is moderated (which seems better to me, as it would
> update automatically without need to reload cleanfeed to get new moderation
> status, as I presume is needed for "active_file" ?)

Hi, thanks for highlighting that one.  The logic for that check seems a
bit odd to me.  It will use the active file if a location is specified,
regardless of whether INN::newsgroup is defined or not.  If
INN::newsgroup is the preferred method of checking for moderated groups,
then it should use that method (if possible) even if an active file is
specified.

Either way I need to update the description of the active_file option.
Should I also change the order of the logic to use INN::newsgroup
whenever possible?

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed Webpages
#79771
Author: Steve
Date: Sat, 29 Nov 2008 21:55
12 lines
1320 bytes
On Fri, 28 Nov 2008 12:27:10 -0500, Gary L  Burnore wrote in
Message-Id: <ggp9m6$q9f$1@blackhelicopter.databasix.com>:

> Add a credits page so people know who wrote cleanfeed and how it got
> to where it is now.

Thanks Gary, I'll add one.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed Webpages
#79772
Author: Julien ÉLIE
Date: Sat, 29 Nov 2008 22:56
28 lines
2319 bytes
Hi Steve,

> Feedback and suggestions will be gratefully received.

Your cleanfeed.local shipped with Cleanfeed should not have lines like:

    $localpost = 1 if $hdr{Path} =~ /^news\.mixmin\.net!not-for-mail/;
    $localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.mixmin\.net>$/;


The link to refuse_messageids (in the description of do_mid_filter)
should be the page of regexp, and not config.html in your web page.


# examine message-id during CHECK transaction (INN only)
sub filter_messageid {

For IHAVE too.  And blocking late cancels works only for messages
whose message-ID has a special syntax.  It should perhaps be mentioned
in the documentation (<cancel.[message-ID]>).

-- 
Julien ÉLIE

« -- Ordre est donné d'enquêter dans tout le secteur, afin d'identifier
  et de confondre les légions à la solde de Pompée !
  -- S'ils n'ont pas de signes distinctifs, ça ne sera pas facile mon général ! » (Astérix) 
Re: Cleanfeed Webpages
#79778
Author: D. Stussy
Date: Sun, 30 Nov 2008 08:04
28 lines
1994 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:ggshak$r2o$1@news.trigofacile.com...
> Hi Steve,
>
> > Feedback and suggestions will be gratefully received.
>
> Your cleanfeed.local shipped with Cleanfeed should not have lines like:
>
>     $localpost = 1 if $hdr{Path} =~ /^news\.mixmin\.net!not-for-mail/;

$inn:pathhost?

>     $localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.mixmin\.net>$/;

$inn:fromhost?

> The link to refuse_messageids (in the description of do_mid_filter)
> should be the page of regexp, and not config.html in your web page.
>
> # examine message-id during CHECK transaction (INN only)
> sub filter_messageid {
>
> For IHAVE too.  And blocking late cancels works only for messages
> whose message-ID has a special syntax.  It should perhaps be mentioned
> in the documentation (<cancel.[message-ID]>).

Re: Cleanfeed Webpages
#79782
Author: Julien ÉLIE
Date: Sun, 30 Nov 2008 10:05
24 lines
2083 bytes
Hi D. Stussy,

>>     $localpost = 1 if $hdr{Path} =~ /^news\.mixmin\.net!not-for-mail/;
>
> $inn:pathhost?
>
>>     $localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.mixmin\.net>$/;
>
> $inn:fromhost?

I would have suggested that these lines were only commented out.

Note that $inn::pathhost will not work because innshellvars.pl is not loaded
into Cleanfeed.  People would have to add the necessary import at the beginning
of the script (it is not handled at configure time by INN).

Moreover, $inn::pathhost does not work with INN 2.5.0; the syntax is
$INN::Config::pathhost starting from INN 2.5.0.

-- 
Julien ÉLIE

« Non omnia possumus omnes. » (Virgile) 
Re: Cleanfeed Webpages
#79784
Author: Steve
Date: Sun, 30 Nov 2008 10:53
29 lines
1941 bytes
On Sat, 29 Nov 2008 23:56:19 +0100, =?Windows-1252?Q?Julien_=C9LIE?= wrote in
Message-Id: <ggshak$r2o$1@news.trigofacile.com>:

> Your cleanfeed.local shipped with Cleanfeed should not have lines like:
>
>     $localpost = 1 if $hdr{Path} =~ /^news\.mixmin\.net!not-for-mail/;
>     $localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.mixmin\.net>$/;
Thanks, removed those now.

> The link to refuse_messageids (in the description of do_mid_filter)
> should be the page of regexp, and not config.html in your web page.
Corrected.

> # examine message-id during CHECK transaction (INN only)
> sub filter_messageid {
> For IHAVE too.
Changed the comment to say CHECK and IHAVE transactions.

> And blocking late cancels works only for messages whose message-ID
> has a special syntax.  It should perhaps be mentioned in the
> documentation (<cancel.[message-ID]>).
Updated the config.html page to clarify that.

Many thanks!

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed Webpages
#79786
Author: Julien ÉLIE
Date: Sun, 30 Nov 2008 12:10
18 lines
1941 bytes
Hi Steve,

>> Your cleanfeed.local shipped with Cleanfeed should not have lines like:
>>
>>     $localpost = 1 if $hdr{Path} =~ /^news\.mixmin\.net!not-for-mail/;
>>     $localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.mixmin\.net>$/;
> Thanks, removed those now.

You should grep "mixmin" in cleanfeed.local because there are other lines
like these ones.
(You could just comment them out.)

-- 
Julien ÉLIE

« L'informatique, c'est l'art de passer 15 jours
  à essayer de gagner quelques millisecondes... » 
Re: Cleanfeed Webpages
#79788
Author: Steve
Date: Sun, 30 Nov 2008 19:01
14 lines
1460 bytes
On Sun, 30 Nov 2008 13:10:02 +0100, =?Windows-1252?Q?Julien_=C9LIE?= wrote in
Message-Id: <ggtvr7$u7m$1@news.trigofacile.com>:

> You should grep "mixmin" in cleanfeed.local because there are other lines
> like these ones.
> (You could just comment them out.)

Removed them all now.  None really made good generic examples of
localised customisation so it's better without them.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Re: Cleanfeed Webpages
#79789
Author: Matija Nalis
Date: Sun, 30 Nov 2008 22:12
35 lines
2730 bytes
On Sat, 29 Nov 2008 21:55:03 +0000 (UTC), Steve <steve@mixmin.net> wrote:
> Hi, thanks for highlighting that one.  The logic for that check seems a
> bit odd to me.  It will use the active file if a location is specified,
> regardless of whether INN::newsgroup is defined or not.  If

It seems in accordance with UN*X ideology - always allowing the superuser to
shoot himself in the foot if he wants to :-)

> INN::newsgroup is the preferred method of checking for moderated groups,
> then it should use that method (if possible) even if an active file is
> specified.

In regular case, I think it is preferred, as you don't need to reload the
filter to get changed moderated status. 

However, although I didn't see it used that way, there *might* be a reason
that newsadmin wants to specify active_file diferent than '' to cleanfeed
even when using INN, for example to force different filter behaviour for
some groups (make them look like they're moderated or unmoderated,
regardless of their real [pseudo]moderation status)

So, as current code gives the newsadmin the widest range of possibilities to
choose from, and the fact there is no good reason the change current
behaviour that somebody might be depending on, I think the code should be
kept as it is.

> Either way I need to update the description of the active_file option.
> Should I also change the order of the logic to use INN::newsgroup
> whenever possible?

I'd probably just update to docs to say that active_file = '' is preffered
unless you have very good reason to do otherwise, and leave the code as-is.

-- 
Opinions above are GNU-copylefted.
Re: Cleanfeed Webpages
#79912
Author: Julien ÉLIE
Date: Sun, 21 Dec 2008 21:47
15 lines
1767 bytes
Hi Steven

> Following the recent feedback I received about Cleanfeed, I've now put
> together some webpages on how to install and configure it.  These can be
> found at http://www.mixmin.net/cleanfeed/index.html.

Now also mentioned at the end of these pages:
    http://www.eyrie.org/~eagle/software/inn/docs/readme.html
    http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html

-- 
Julien ÉLIE

« Vulnera dum sanas, dolor est medicina doloris. » 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads