🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79112

Re: unwanted.log and rejecting

#79112
From: Julien ÉLIE
Date: Fri, 06 Jun 2008 18:03
37 lines
2487 bytes
Hi kjell,

>> As Ray says, unwanted.log is not rotated and keeps a count
>> of the number of articles which were rejected because they
>> were posted to newsgroups which do not exist on your server.
>
> I see! How could I rotate this log?

There is a script names scanlogs in your news server and there is:


##  Now that innreport has finished, we can move unwanted.log.  This
##  file is not reset because it keeps the count of unwanted newsgroups.
if ${ROTATE} ; then
    BASE=`basename ${UNWANTED_LOG}`
    if [ -f ${UNWANTED_LOG}.old ]; then
        mv ${UNWANTED_LOG}.old ${OLD}/${BASE}
    else
        rm -f ${OLD}/${BASE}
        cp ${UNWANTED_LOG} ${OLD}/${BASE}
        chmod 0660 ${OLD}/${BASE}
    fi
fi

Just put a "rm -f" of this file here too.


You can also use the "logrotate" utility of your Ubuntu.
But normally, unwanted.log is not rotated so it is not necessary
for you to do that:  you will lose what this file is for (tracking
the count of unwanted newsgroups through days).

-- 
Julien ÉLIE

« Mon père, ce héros au sourire si doux. » (Victor Hugo)
Technical Details
Message-ID: <g2bu5s$9d4$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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
References: <g2aits$p0c$1@ubuntu1.ipbo.se> <g2akdh$plo$1@news.trigofacile.com> <g2aldf$qj5$1@ubuntu1.ipbo.se>

Show Full Headers
Complete Article Headers
Message-ID: <g2bu5s$9d4$1@news.trigofacile.com>
Subject: Re: unwanted.log and rejecting
Date: Fri, 6 Jun 2008 20:03:37 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <g2aits$p0c$1@ubuntu1.ipbo.se> <g2akdh$plo$1@news.trigofacile.com> <g2aldf$qj5$1@ubuntu1.ipbo.se>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 37
NNTP-Posting-Host: aaubervilliers-151-1-83-224.w83-199.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1212775420 9636 83.199.146.224 (6 Jun 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 6 Jun 2008 18:03:40 +0000 (UTC)
In-Reply-To: <g2aldf$qj5$1@ubuntu1.ipbo.se>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000