🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83002

Re: Suppressing the daily report from news.daily

#83002
From: Julien ÉLIE
Date: Fri, 16 Apr 2010 17:21
38 lines
2711 bytes
Hi Gary,

> I'm running inn-2.4.2 on our news server.  Activity has slowed so much
> that I no longer want the report from news.daily mailed to me every
> day.  Once a week would be sufficient, or perhaps it could be stopped
> altogether and replaced by some other means of monitoring the news
> system.

HTML reports can still be generated by news.daily.  It runs scanlogs
which, in turn, runs innreport.  You can therefore monitor your system
with these saved reports.


> Will the `nomail' option suppress it completely?  The man page just
> says that it's sent to stdout and stderr.

Yes, it suppresses the mail.  Just pipe stdout and stderr to /dev/null
when calling news.daily in cron.
Please note that "nomail" is new in INN 2.5.2.


> Is there a way to have it send the report less frequently than
> once a day?

Without "nomail", I do not see how it could be done.  Except of course
if you run news.daily less than every day!

Another idea would be to run news.daily with the "norotate" option
every day of the week, except one (to receive a global report once
a week).  And without the "nomail" option, just drop or filter
the unwanted mail you receive.

-- 
Julien ÉLIE

« La médecine est un métier dangereux. Ceux qui ne meurent pas
  peuvent vous faire un procès. » (Coluche)
Technical Details
Message-ID: <hqa6a5$c3u$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!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-37-194.w83-112.abo.wanadoo.fr!not-for-mail
References: <hqa24c$k9i$1@canopus.cc.umanitoba.ca>

Show Full Headers
Complete Article Headers
Message-ID: <hqa6a5$c3u$1@news.trigofacile.com>
Subject: Re: Suppressing the daily report from news.daily
Date: Fri, 16 Apr 2010 19:21:14 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <hqa24c$k9i$1@canopus.cc.umanitoba.ca>
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!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-37-194.w83-112.abo.wanadoo.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 38
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 16 Apr 2010 17:21:10 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="aaubervilliers-151-1-37-194.w83-112.abo.wanadoo.fr:83.112.148.194";
 logging-data="12414"; mail-complaints-to="abuse@trigofacile.com"
In-Reply-To: <hqa24c$k9i$1@canopus.cc.umanitoba.ca>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6002.18005
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005