Article View: a2i.general
Article #747Re: Moderated news posts not propogating :(
From: amatu
Date: Wed, 06 May 1998 00:00
Date: Wed, 06 May 1998 00:00
51 lines
2470 bytes
2470 bytes
In article <6invno$t82$1@samba.rahul.net>,
Catherine Hampton <c.c.bsjfm@70.killspam.us.com> wrote:
>Rahul Dhesi -- a2i support (support@rahul.net) wrote:
>
>: If the second possibility is the problem, a quick solution is to post
>: from your PPP login, and post at a slow rate, e.g., one every 5 minutes.
>: Please try this and see if it makes a difference.
>
>Uh, Rahul, two things. First, while I'd be willing to test this just
>to rule it out, once, I don't have the time or tools to do this kind
>of hand-stands for moderating a relatively high-volume newsgroup.
Actually, it shouldn't take you any longer than it does now. You can
have a background shell script that collects the files from a directory
and posts them every few minutes. All you do is save your articles to
the directory, make sure they have the proper headers, and run the
shell script in the background.
I do this all the time for "bulk" e-mailing to universities. We must
periodically send mail to all 1000 schools in our database (the Official
MBA Guide at http://unicorn.us.com/guide). I don't want to clog up
Rahul's mail server, and the mail is not so urgent it needs to get
sent all at once, so I have each message saved to a directly and run a
script to send one every 10 seconds. I have it run as a cron job every
morning, so I don't even have to run the script manually. And if the
script is run on an empty directly, it simply terminates.
The script is takes all files in my www/guide/main/mail directory ending
in .txt and sends them, deleting each one as it goes:
#!/bin/sh
cd /files/home/ftp/pub/unicorn/www/guide/maint/mail
for m in *.txt
do
if test -f $m
then
nice -10 /usr/lib/sendmail -oi -t < $m
sleep 10
rm -f $m
fi
done
I believe you can replace the sendmail command with inews to post
instead of mail, assuming the files have the proper headers. And change
"sleep 10" to "sleep 300" to send every 5 minutes.
-Alex
Technical Details
Message-ID:
<6ioe7i$2nv$1@samba.rahul.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6ilgk4$ecn$1@samba.rahul.net> <6ilq2q$fpc$1@samba.rahul.net> <6invno$t82$1@samba.rahul.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111b8f,63365d979ff11b9d X-Google-Attributes: gid111b8f,public From: amatu@unicorn.us.com Subject: Re: Moderated news posts not propogating :( Date: 1998/05/06 Message-ID: <6ioe7i$2nv$1@samba.rahul.net> X-Deja-AN: 350617679 References: <6ilgk4$ecn$1@samba.rahul.net> <6ilq2q$fpc$1@samba.rahul.net> <6invno$t82$1@samba.rahul.net> Organization: a2i network NNTP-Posting-User: unicorn Newsgroups: a2i.general