🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49287

Re: rnews return codes

#49287
From: Russ Allbery
Date: Wed, 06 Dec 2000 00:00
22 lines
1661 bytes
Nat Irons <perambulator@bumppo.net> writes:

> Am I correct in believing that rnews returns 0 whether or not a message
> was accepted by inn?  I'm using News::Gateway to transfer a whopping lot
> of mailing list traffic to a private news hierarchy, and I can't accept
> the possibility that 1-5% might get silently lost.

> It's okay if 1-5% don't get posted, as long as my injection script can
> detect it and do something intelligent, like stash those messages in a
> particular mailbox for me to review.  But I can't figure a way to get a
> heads-up when rnews fails -- syslog contains excuses (duplicate
> message-id, bad date, etc) but usually it's nothing I can match up to
> specific messages in my mailstore after the fact.

Edit /usr/include/config.h.in and uncomment DO_RNEWS_SAVE_BAD and then
recompile.  rnews will then put all rejected articles in
~news/spool/incoming/bad.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylofypcboa.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <perambulator-66063F.11193306122000@news.cnw.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylofypcboa.fsf@windlord.stanford.edu>
Subject: Re: rnews return codes
Date: Wed, 06 Dec 2000 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <perambulator-66063F.11193306122000@news.cnw.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.mbox.zip!not-for-mail
X-Deja-AN: 701980531
Content-Type: text/plain; charset=us-ascii
Organization: The Eyrie
Mime-Version: 1.0
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)
Newsgroups: news.software.nntp