🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80290

Re: Can Cleanfeed filter on a specific user?

#80290
From: John F. Morse
Date: Mon, 09 Mar 2009 01:38
66 lines
4435 bytes
Black Dragon wrote:
> John F. Morse wrote:
>
> I've got nothing to say about current versions of cleanfeed (I prefer
> using Jeremy Nixon's last version) but I'll interject this.
>   
>> There is no home directory for news at the root level on Debian
>>     
>
> For THAT reason alone you're far better off compiling INN from source
> and using as many of it's defaults as possible. My first experience with
> INN was installed from an RPM on a Red Hat Linux machine. I spent an
> entire weekend trying to get it to work running into problems such as
> with file permissions / ownership  and files not being in logical places 
> which made the INN documentation I was working from useless. Whoever it 
> was that packaged that particular RPM was a bumbling idiot. Life with INN 
> for me became 100% better once I built and installed it from source. 
> Another advantage to that is it seems the people here who are most 
> knowledgeable about INN appear to expect files in default places when 
> giving advice.
>
> IMO, your system should have a news user, a news group, and a home
> directory for news. The INN default is /usr/local/news. I never ever 
> touch anything in the news home dir or even the news spool without 
> being logged in as the news user, is too easy to mangle ownership and
> permissions otherwise and INN is finicky about that.
>
> I understand the desire to want to use a package management system as I
> much prefer using ports on FreeBSD, but INN is one of the few
> programs for which I make an exception and for good reason some of
> which I described.
>
> My $.02 mostly gleaned from reading news.software.nntp for many yeas
> now. 
>
> HTH :)
>   

The problem is not with Debian, nor INN, but Cleanfeed had hard-coded 
the file pathnames.

Cleanfeed should have dug the correct path information out of 
/etc/news/inn.conf which is the "parent" application to which it is 
designed to assist.

This is not a new INN install, but a change to one that currently has an 
uptime of 271 days since I accidentally shut off the power to the wrong 
computer. ;-)

I've been running INN on three computers since 2005, with this one being 
the one facing the public since 2006.

On Debian, news uses /var/spool/news for its home directory. If you 
compile and didn't use a package manager, then your preferred directory 
would be /usr/local/news/ so the package manager won't step on it.

I think the location in the /var directory is good, because if the 
directory should fill up, and it is in a separate partition, the system 
won't crash. Additionally, news' files are dynamic in size and number, 
which is exactly what the /var directory is designed to accommodate.

More info here: http://www.eyrie.org/~eagle/faqs/inn.html#S5.4


-- 
John
Technical Details
Message-ID: <gp1ru7$782$1@optima7.xanadu-bbs.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!transit4.hitnews.eu!feeder6.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!nx02.iad.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mail
References: <gou9pu$a8c$1@optima7.xanadu-bbs.net> <80ocwdgpxd.fsf@banana.shacknet.nu> <gouijv$ctq$1@news.trigofacile.com> <gp11f6$jf$1@optima7.xanadu-bbs.net> <slrngr8796.lgn.steve@news.mixmin.net> <gp19sd$2o0$1@optima7.xanadu-bbs.net> <gp1jsm$p30$1@bdhi.local>

Show Full Headers
Complete Article Headers
Message-ID: <gp1ru7$782$1@optima7.xanadu-bbs.net>
Subject: Re: Can Cleanfeed filter on a specific user?
Date: Sun, 08 Mar 2009 20:38:15 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gou9pu$a8c$1@optima7.xanadu-bbs.net> <80ocwdgpxd.fsf@banana.shacknet.nu> <gouijv$ctq$1@news.trigofacile.com> <gp11f6$jf$1@optima7.xanadu-bbs.net> <slrngr8796.lgn.steve@news.mixmin.net> <gp19sd$2o0$1@optima7.xanadu-bbs.net> <gp1jsm$p30$1@bdhi.local>
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!transit4.hitnews.eu!feeder6.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad.newshosting.com!nx02.iad.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!74.222.216.191.MISMATCH!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 66
Reply-To: dont.bother
NNTP-Posting-Host: n100.xanadu-bbs.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1236562695 7426 192.168.89.210 (9 Mar 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 9 Mar 2009 01:38:15 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.19 (X11/20090105)
In-Reply-To: <gp1jsm$p30$1@bdhi.local>