Thread View: news.software.nntp
5 messages
5 total messages
Started by Gab
Wed, 03 Jun 2009 23:45
mixmin.net cleanfeed
Author: Gab
Date: Wed, 03 Jun 2009 23:45
Date: Wed, 03 Jun 2009 23:45
47 lines
3057 bytes
3057 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3DA981B2C25531388E80C58B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi ! I have just downloaded the mixmin.net cleanfeed and a perl compile gave this: > Name "main::config_dir" used only once: possible typo at etc/cleanfeed.= local line 160. > Name "main::LocalPosts" used only once: possible typo at etc/cleanfeed.= local line 98. > Name "main::Moderated" used only once: possible typo at etc/cleanfeed.l= ocal line 160. > Name "main::gr" used only once: possible typo at etc/cleanfeed.local li= ne 39. > Name "main::lines" used only once: possible typo at etc/cleanfeed.local= line 160. > Name "main::followups" used only once: possible typo at etc/cleanfeed.l= ocal line 160. > Name "main::config" used only once: possible typo at etc/cleanfeed.loca= l line 97. > etc/cleanfeed.local syntax OK Are they just warnings ? --=20 sec 1024D/80231A90 2008-07-01 Key fingerprint =3D 54AC C632 B35E FB9B 6D9F 108D DBE6 5425 8023 1A90 --------------enig3DA981B2C25531388E80C58B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkonC0IACgkQ2+ZUJYAjGpARZgCg0ZihTk/n6q2rtgwkpwEQdVYx 1poAoKK079uZ1h0i9+MY06GGiC31Qju4 =ez+e -----END PGP SIGNATURE----- --------------enig3DA981B2C25531388E80C58B--
Re: mixmin.net cleanfeed
Author: Gab
Date: Thu, 04 Jun 2009 01:22
Date: Thu, 04 Jun 2009 01:22
47 lines
2782 bytes
2782 bytes
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig41294CCE26C767A782604ED0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Gab wrote:
> Hi !
I also needed some explanations on this
> filter: Cannot open /news/log/cleanfeed.stats.html: No such file or dir=
ectory
Making a correct path for the above , how can i have html cleanfeed stats=
?
> sub local_filter_last {
> my $localpost =3D 0;
> #$localpost =3D 1 if $hdr{'X-Trace'} and $hdr{'X-Trace'} =3D~ /\.ga=
brix\.ath\.cx/;
> $localpost =3D 1 if $hdr{Path} =3D~ /^not\-for\-mail$/;
Shall i keep commented the above ?
Thanks .
--=20
sec 1024D/80231A90 2008-07-01
Key fingerprint =3D 54AC C632 B35E FB9B 6D9F 108D DBE6 5425 8023 1A90
--------------enig41294CCE26C767A782604ED0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkonIe0ACgkQ2+ZUJYAjGpCe5gCeLXXkM1hkvr9TtbPtUBEQOLgP
n+AAn1M/diquc+dPMphhBqt4Q72+FQ0r
=I7WQ
-----END PGP SIGNATURE-----
--------------enig41294CCE26C767A782604ED0--
Re: mixmin.net cleanfeed
Author: Steve Crook
Date: Thu, 04 Jun 2009 08:29
Date: Thu, 04 Jun 2009 08:29
13 lines
1427 bytes
1427 bytes
On Thu, 04 Jun 2009 01:45:58 +0200, Gab wrote in
Message-Id: <h0724p$v36$1@news.gabrix.ath.cx>:
> Are they just warnings ?
Yes, just warnings. It's best to quickly check through them to make
sure you haven't mistyped a variable name but in general they are
benign. It happens because Perl is checking cleanfeed.local in
isolation from cleanfeed itself where most parameters are defined.
--
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: mixmin.net cleanfeed
Author: gabrix
Date: Thu, 04 Jun 2009 08:45
Date: Thu, 04 Jun 2009 08:45
29 lines
2130 bytes
2130 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Steve Crook wrote: > On Thu, 04 Jun 2009 01:45:58 +0200, Gab wrote in > Message-Id: <h0724p$v36$1@news.gabrix.ath.cx>: > >> Are they just warnings ? > Yes, just warnings. It's best to quickly check through them to make > sure you haven't mistyped a variable name but in general they are > benign. It happens because Perl is checking cleanfeed.local in > isolation from cleanfeed itself where most parameters are defined. It's working great , thank you ! Gab - -- sec 1024D/80231A90 2008-07-01 Key fingerprint = 54AC C632 B35E FB9B 6D9F 108D DBE6 5425 8023 1A90 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkoniasACgkQ2+ZUJYAjGpDPcwCglctJ7lAFHM/669Nd53MAyCxV CAMAn1v7CB5zEeInsS45/Nb9qE10bIXG =yDOb -----END PGP SIGNATURE-----
Re: mixmin.net cleanfeed
Author: Steve Crook
Date: Thu, 04 Jun 2009 09:01
Date: Thu, 04 Jun 2009 09:01
37 lines
2392 bytes
2392 bytes
On Thu, 04 Jun 2009 03:22:46 +0200, Gab wrote in
Message-Id: <h077q4$3bh$1@news.gabrix.ath.cx>:
>> filter: Cannot open /news/log/cleanfeed.stats.html: No such file or
>> directory
http://www.mixmin.net/cleanfeed/config.html#html_statfile
You need to point html_statfile to a file in which you want html stats
generated. For default configurations, something like this:
html_statfile => '/usr/local/news/cleanfeed',
>> sub local_filter_last {
>> my $localpost =3D 0;
>> #$localpost =3D 1 if $hdr{'X-Trace'} and $hdr{'X-Trace'} =3D~ /\.ga=
> brix\.ath\.cx/;
>> $localpost =3D 1 if $hdr{Path} =3D~ /^not\-for\-mail$/;
>
> Shall i keep commented the above ?
It depends if you want to use a localpost flag. In most instances it's
a good thing to have so you can apply filters specifically to posts
generated locally or perhaps specifically to non-local posts.
As a (not very good) example:
my $localpost = 0;
$localpost = 1 if $hdr{Path} =~ /^not\-for\-mail$/;
$localpost = 1 if $hdr{'X-Complaints-To'} =~ /usenet\@gabrix\.ath\.cx/;
$localpost = 1 if $hdr{'Message-ID'} =~ /\@news\.gabrix\.ath\.cx>$/;
if ($localhost) {
saveart('path-preload') if not $hdr{Path} =~ /^not\-for\-mail$/;
} else {
saveart('external-to-local') if $hdr{Newsgroups} =~ /^local\.|,local\./;
};
--
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>
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