Thread View: news.software.nntp
6 messages
6 total messages
Started by Mazlan Mat
Thu, 25 Jan 2001 06:24
Inn outgoing spool file
Author: Mazlan Mat
Date: Thu, 25 Jan 2001 06:24
Date: Thu, 25 Jan 2001 06:24
13 lines
1136 bytes
1136 bytes
Hello there What is the *exact* content of the inn outgoing spool file? What i have if something like message header in /usr/local/news/spool/outgoing/myfile. If i use rpost to post the message to my ISP, rpost complaint that nothing got posted. Or am i missing something here Thanks -- Mazlan Mat
Re: Inn outgoing spool file
Author: Russ Allbery
Date: Thu, 25 Jan 2001 06:32
Date: Thu, 25 Jan 2001 06:32
10 lines
1300 bytes
1300 bytes
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. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Inn outgoing spool file
Author: Mazlan Mat
Date: Thu, 25 Jan 2001 08:16
Date: Thu, 25 Jan 2001 08:16
23 lines
1718 bytes
1718 bytes
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? Thanks for your reply > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> -- Mazlan Mat
Re: Inn outgoing spool file
Author: Bernard Delechamp
Date: Thu, 25 Jan 2001 08:47
Date: Thu, 25 Jan 2001 08:47
39 lines
2293 bytes
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
Re: Inn outgoing spool file
Author: Russ Allbery
Date: Thu, 25 Jan 2001 08:50
Date: Thu, 25 Jan 2001 08:50
16 lines
1656 bytes
1656 bytes
Mazlan Mat <matle@pd.jaring.my> writes: > Russ Allbery wrote: >> 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? It's stored in the storage subsystem with a storage token given in the file. sm will retrieve the article. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: Inn outgoing spool file
Author: Mazlan Mat
Date: Thu, 25 Jan 2001 13:43
Date: Thu, 25 Jan 2001 13:43
36 lines
2029 bytes
2029 bytes
Bernard Delechamp wrote:
>
> Mazlan Mat a �crit :
> >
> > Russ Allbery wrote:
> > >
> > >
>
> 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
Thanks, rpost is now working. Not enough reading i guess.
--
Mazlan Mat
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads