🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80796

Re: INND NNTP-Posting-Host

#80796
From: Aioe
Date: Tue, 28 Apr 2009 22:16
116 lines
4057 bytes
Gab wrote:

> But let's talk about postfilter :
> 
>> # $config{'salt'} -> random string (it's used to add entropy to
>> # NNTP-Hosting-Host MD5 sign )
> 
> That's what exactly i was looking for and what users asked me to look
> after .

hint: use a quite long salt

> for
> Date::Parse;
> Sys::Syslog;
> Digest;
> Digest::HMAC;
> Digest::MD5;
> DBI;
> 
> Dis i miss anything ?

use

$ perl -wc src/postfilter.pl

if that command returns "syntax OK", all modules are installed
a future version will include an installer

> In postfilter.conf i found reasonable defaults the only important values
> i have changed are:
> 
>> 'server_status',                          "active",

"active" is the default value and you should keep it

>> 'server_type',                            "public",

if you don't use authentication, it's right

>> 'allow_mail_headers',                       "true"
> It's my will to configure a mail2news

ok

>> 'force_default_organization',         "true"

why do you need this?

>> 'delete_header_sender',               "anon"

if you don't use authentication, this is probably useless because 'Sender' 
isn't added by nnrpd.
If you use some sort of authentication, 'server_type' is set with a wrong 
setting and probably you should delete (with value "true") the sender 
header.

> We can discuss about the following choice:
>> 'block_tor',                               "false",
> The tor nodes list is huge and i would feel like some mainstream usenet
> provider (i'm not going to mension) , i'll probably learn to pay my
> choices on my skin .

imho is a bad idea.
TOR will be quickly used by 'abusers' as weapon against your server and your 
abuse desk will be bombed by people angry with you for messages sent through 
your server. You will probably receive court orders that enforces you to 
provide posting data about your users. This requires skills. 
You're at the beginning, you have to learn before starting a so complex 
task.

> Fireup slrn , post test article , look at news.err:
> 
> news nnrpd: SERVER perl filter not definied

1. Check whether all files are in the right place:

/etc/news/filter/postfilter.pl
/etc/news/filter/modules/*.pm
/etc/news/postfilter/*.conf

2. Try to restart innd

3. Try to post (postfilter logs a lot of data through news.debug)

> P.S.
> Hi Aioe ! Is you aioe.org admin ? 

yes

> You are in my peers list , i don't see
> you in my logs since my last stop . 

my server is not able to establish a connection with your server 

Apr 28 21:00:00 aioe innfeed[2621]: gabrix.ath.cx:0 cxnsleep connect: 
Connection timed out

(firewall troubles?)

Technical Details
Message-ID: <gt7v7h$kla$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!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!not-for-mail
References: <100a1ed66b4e677671a2a84aaedd6c70$1@www.gabrix.ath.cx> <gt6dvi$bv$1@aioe.org> <gt7d04$do2$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <gt7v7h$kla$1@aioe.org>
Subject: Re: INND NNTP-Posting-Host
Date: Wed, 29 Apr 2009 00:16:03 +0200
From: Aioe <estasi@aioe.org>
References: <100a1ed66b4e677671a2a84aaedd6c70$1@www.gabrix.ath.cx> <gt6dvi$bv$1@aioe.org> <gt7d04$do2$1@news.mixmin.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!not-for-mail
Newsgroups: news.software.nntp
Followup-To: news.software.nntp
Organization: Aioe.org
Lines: 116
NNTP-Posting-Host: AvwwwZ06HVlGBlvWi8RLSg.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: Tue, 28 Apr 2009 22:16:17 +0000 (UTC)
X-Notice: Filtered by postfilter v. 0.7.7
Cancel-Lock: sha1:xGLxkQiSH9MicwnZ0J0jq9Lkzu4=
User-Agent: KNode/0.99.01