๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50129

Re: Inn outgoing spool file

#50129
From: Bernard Delechamp
Date: Thu, 25 Jan 2001 08:47
39 lines
2293 bytes
Mazlan Mat a ๏ฟฝcrit :
> 
> Russ Allbery wrote:
> >
> > Mazlan Mat <matle@pd.jaring.my> writes:
> >
> > > What is the *exact* content of the inn outgoing spool file?
> >
> > Depends on your newsfeeds flags, but usually the storage API token and the
> > message ID, separated by a space, one entry per line.  That's Wnm.
> 
> I have the Tf,Wnm in my newsfeeds. When i post it using rpost, it
> complains empty file, skipping.
> If the spool file containt the Message ID, where is the message body is
> spooled/stored?

You must use the storage manager (~news/bin/sm). I do so :

rpost ${REMOTE_HOST} -b ${OUTGOING_FILE} \
    -f /usr/local/bin/filter.rpost \$\$o=/tmp/message \$\$i /tmp/message

Note that option ''-p'' is not used.

/usr/local/bin/filter.rpost contains :

#!/bin/sh
~news/bin/sm $1 | sed   -e "/^NNTP-Posting-Host/d" \
                        -e "/^Xref/d" \
                        -e "/^X-Trace/d" \
                        -e "/^X-Complaints/d" \
                        -e "/^NNTP-Posting-Date/d" >$2

See example put.news.sm in package suck

Best regards.

-- 
bernard
Technical Details
Message-ID: <3A6FE82B.F565BEF7@laposte.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!vaissiere-favre.com!not-for-mail
References: <3A6FC68F.DA76ABF0@pd.jaring.my> <yl3de8i1k7.fsf@windlord.stanford.edu> <3A6FE0C8.3CEBCBCE@pd.jaring.my>

Show Full Headers
Complete Article Headers
Message-ID: <3A6FE82B.F565BEF7@laposte.net>
Subject: Re: Inn outgoing spool file
Date: Thu, 25 Jan 2001 09:47:39 +0100
From: Bernard Delechamp <bernard.delechamp@laposte.net>
References: <3A6FC68F.DA76ABF0@pd.jaring.my> <yl3de8i1k7.fsf@windlord.stanford.edu> <3A6FE0C8.3CEBCBCE@pd.jaring.my>
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!supernews.google.com!sn-xit-02!supernews.com!isdnet!wanadoo.fr!vaissiere-favre.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Groupe Vaissiere-Favre (A Royal Vopak company)
Lines: 38
Reply-To: bernard.delechamp@vaissiere-favre.com
NNTP-Posting-Host: alyon-101-1-3-173.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: wanadoo.fr 980412688 10183 193.252.186.173 (25 Jan 2001 08:51:28 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 25 Jan 2001 08:51:28 GMT
X-Mailer: Mozilla 4.73 [fr] (X11; I; Linux 2.2.16 i686)
X-Accept-Language: fr, en