🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Jan Hugo Prins Fri, 16 Mar 2001 10:06
UUCP Batching
#51265
Author: Jan Hugo Prins
Date: Fri, 16 Mar 2001 10:06
15 lines
1281 bytes
Hello,

I have a INN server running with an incoming UUCP feed to get my
newsgroups. This all works fine now. But I still have a other problem.
When I do an outbound batch from a cronjob in the security context of
the news user   (5 * * * * sendbatch -c uucphost) everything I have
written is send out, but everytime again. So all my mail is send every
hour. A little overkill I think.

Does anyone know why this happens?

Greetings,
Jan Hugo

Re: UUCP Batching
#51276
Author: Miquel van Smoorenburg
Date: Fri, 16 Mar 2001 16:54
18 lines
1780 bytes
In article <3AB1E595.4D3A565F@tue.nl>,
Jan Hugo Prins  <j.h.prins@tue.nl> wrote:
>I have a INN server running with an incoming UUCP feed to get my
>newsgroups. This all works fine now. But I still have a other problem.
>When I do an outbound batch from a cronjob in the security context of
>the news user   (5 * * * * sendbatch -c uucphost) everything I have
>written is send out, but everytime again. So all my mail is send every
>hour. A little overkill I think.

You need to move the batchfile to another name, then flush the
channel, then process the batchfile, then remove the batchfile.

The script 'send-uucp' does all that for you. "man send-uucp".

Mike.
-- 
How much net work could a network work if a network could net work ?
Re: UUCP Batching
#51281
Author: Jan Hugo Prins
Date: Fri, 16 Mar 2001 19:28
32 lines
2220 bytes
Miquel van Smoorenburg wrote:

> In article <3AB1E595.4D3A565F@tue.nl>,
> Jan Hugo Prins  <j.h.prins@tue.nl> wrote:
> >I have a INN server running with an incoming UUCP feed to get my
> >newsgroups. This all works fine now. But I still have a other problem.
> >When I do an outbound batch from a cronjob in the security context of
> >the news user   (5 * * * * sendbatch -c uucphost) everything I have
> >written is send out, but everytime again. So all my mail is send every
> >hour. A little overkill I think.
>
> You need to move the batchfile to another name, then flush the
> channel, then process the batchfile, then remove the batchfile.
>
> The script 'send-uucp' does all that for you. "man send-uucp".
>

I have done some testing again, and both scripts (sendbatch and send-uucp)
leave the file /var/spool/news/outgoing/site.uucp untouched. Or actually
they create the file and in this file there is the information about what
message has to be send out but this file is created every time again. Is
is never flushed. He never realises that the message is allready
compressed and copied to the /var/spool/uucp/site/D. and C. dir.

If you all need any config file like I use them, they are in a prefious
message of mine.

Greetings,
Jan Hugo Prins.


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