Article View: news.software.nntp
Article #51281Re: UUCP Batching
From: Jan Hugo Prins
Date: Fri, 16 Mar 2001 19:28
Date: Fri, 16 Mar 2001 19:28
32 lines
2220 bytes
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.
Technical Details
Message-ID:
<3AB26959.18EF5C65@xs4all.nl>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!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<3AB1E595.4D3A565F@tue.nl> <98tgfb$fik$1@ncc1701.cistron.net>Show Full Headers
Complete Article Headers
Message-ID: <3AB26959.18EF5C65@xs4all.nl> Subject: Re: UUCP Batching Date: Fri, 16 Mar 2001 20:28:25 +0100 From: Jan Hugo Prins <jhp@xs4all.nl> References: <3AB1E595.4D3A565F@tue.nl> <98tgfb$fik$1@ncc1701.cistron.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!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 31 NNTP-Posting-Host: 213.51.157.178 X-Trace: 984770905 dreader2.news.xs4all.nl 232 jhp/213.51.157.178