🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80011

Re: Cron job for pullnews

#80011
From: John F. Morse
Date: Sat, 10 Jan 2009 20:39
131 lines
8369 bytes
Black Dragon wrote:
> John F. Morse wrote:
>   
>> I don't need an e-mail message every time pullnews runs.
>>     
>
> You may want to reconsider that. I run INN + suck and the email from the
> cron jobs comes in handy when things go wrong. If you don't think things
> can or will go wrong, I very highly suggest you reconsider that too. :)
>
> My cron jobs are run as the news user. I configure them in a .crontab
> file in the news user home directory and load .crontab using the crontab
> program. (man (1) crontab & man (5) crontab) On FreeBSD users aren't 
> allowed to setup cron jobs by default, but that's configurable on a
> global or per user basis, don't know about Linux systems.
>
> The email is trivial to handle. I use mail aliases to redirect all news
> mail to my main user acct then use procmail store it in an organized
> fashion keeping the suck mail separated from the INN mail, etc. It's all
> automated of course.
>
> I'm just throwing this out there as a little food for thought for you.
> There are many different ways to skin-the-cat so to say. And here's to
> hoping you don't throw the n00b card out on me the next time I disagree
> with you about something in another newsgroup. Cheers! ;)


Thanks for the info. I do appreciate it.

OK, so you aren't a n00b anymore. Why didn't you show your brains 
earlier? ;-)

Please never take my "flames" personally. I don't use them against any 
particular person -- as a personal matter -- but rather at some comment 
they made. When I use terms like "ignorant" it is not meant as a 
covers-all description that they are stupid. It means exactly what it 
means: unaware of the circumstances. Everybody is "ignorant" in many 
ways, including me in many ways.

Somehow the word rubs people the wrong way. Perhaps they have a short 
fuse or a hair trigger. or are just impatient (with n00bs?). I am 
getting old and now find myself more and more impatient. So much to do 
and so little time remaining. I feel Dan C is probably in this class. 
You know, sick and tired of the same-o questions by people who can't or 
won't use a keyboard and look at a man page, Wikipedia, Google, ....

You tell them where to find the answer, but they expect you to bring 
everything to them, and I guess create examples and HOWTOs so they can 
be spoon-fed. I'd say that is/was their parent's responsibility.

I do the same to my best friends when I feel they are on the wrong path, 
and usually they listen to me and sometimes even correct their course. 
But "in-person" or the phone is a lot different than using only 26 
letters, ten numerals and some punctuation in a newsgroup article. I 
admit to bypassing "political correctness" in most anything I say or do. 
I despise politics and go for the point.

Please accept my apology if what I said in the past offended you. It was 
not meant to be offensive, and if sounding like it was, I may have taken 
a stab at some dry, wry humor, which I also enjoy.

Earlier today, like you I decided the best approach would be to continue 
to allow the e-mail so I would have some form of logging, but I could 
cut way back on the cron frequency, to maybe once every six or 12 hours. 
The traffic in that one group is kind of on a 6-12 hour schedule anyway. 
Plus it's mostly all graphics and not time-sensitive (rarely are there 
replies/follow-ups, and no real need for them).

I do have a detailed mailbox setup here. The INN/Pullnews server aliases 
the user "usenet" (actually all users, including and through root, in 
the Debian and Exim environment) to a FQDN address on another LAN 
computer which is running a Mac MTA/MDA. I also have another new Hardy 
Server box running Postfix and Dovecot as the backup MTA/MDA (MX 20). I 
will someday reverse the MX roles of these two servers, once I learn how 
to configure Postfix for RBLs, and local routing unwanted and 
blacklisted domains and IPs to the bit bucket.

Everything here is using a BIND9 DNS server, and I'm maintaining 58 
computers in my HOUSE now, so it is not a trivial IT matter anymore. It 
can be confusing, like last Tuesday when my wife walks in with a new 
replacement PC preloaded with Vista. Guess who went into overdrive to 
figure out how to set it up for her?! ;-)

Did I ever comment before that Windows sucks? This is the first time 
I've ever seen Vista, and I tell you the truth, it sucks at several 
magnitudes greater than XP! Why wouldn't she stick with the Ubuntu 8.10 
that I "loaned" her for a couple of days? She had absolutely no trouble 
with it, except it wouldn't run her RoboForm, which she uses to fill out 
contest forms, which she does around 14 hours every day.

Anyway, back to reality.... I grab the e-mail from the mail server's 
various POP3 boxes, and it is filtered into different directories 
("folders" according to Thunderbird), Everything for the INN server, now 
including the Pullnews mail, is filtered into the INN folder, where I 
read it whenever I feel like it, which is always once a day. The IMAP 
possibilities in Dovecot could make this mail sorting even easier: Look 
when you feel like it, and from any computer. Then use the standard PC 
to POP3 it into the archive (folder) for reference down the road.

How difficult is it to configure and use Suck? I've looked at it many 
times over several YEARS since 2004, but have not actually found my 
missing roundtuit. It was easier to use an old Mac running RumorMill, 
which I used for five years and knew very well, to pull/push when needed.

Would you say that Pullnews is sufficient for only one group having 
maybe 25 articles each day, maybe adding one or two, and rejecting the 
remainder because they already made it to the spool through the peer? It 
seems to be working fine -- after the initial run when there were over 
4000 articles to reject. It failed around half way through so I had to 
edit the ~/.pullnews file and increment the message number by one to 
skip over whatever failed to work.

I still need to try and get something going to push any locally-posted 
articles back to my cable ISP's news server. Maybe newsx is or could be 
better than trying Suck? Consideration is both in the learning curve, 
and the CPU load, which is probably insignificant even with the old 
AMD-K5 266 MHz CPU. Top indicates the server is barely working:

top - 14:16:55 up 214 days,  9:15,  1 user,  load average: 0.02, 0.02, 0.00
Tasks:  55 total,   1 running,  54 sleeping,   0 stopped,   0 zombie
Cpu(s):   1.0% user,   0.7% system,   0.0% nice,  98.4% idle
Mem:    127444k total,   124620k used,     2824k free,    18020k buffers
Swap:   200772k total,    19412k used,   181360k free,    24408k cached


-- 
John 

No Microsoft, Apple, AT&T, Intel, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <gkb11l$eui$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
References: <gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net> <gkarqh$2d78$1@bdhi.local>

Show Full Headers
Complete Article Headers
Message-ID: <gkb11l$eui$1@optima7.xanadu-bbs.net>
Subject: Re: Cron job for pullnews
Date: Sat, 10 Jan 2009 14:39:15 -0600
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <gk9bgv$1m0$1@optima7.xanadu-bbs.net> <807i53r7nl.fsf@banana.shacknet.nu> <gk9iu6$3nh$1@optima7.xanadu-bbs.net> <gkarqh$2d78$1@bdhi.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 131
Reply-To: dont.bother
NNTP-Posting-Host: wintergreen18.xanadu-bbs.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1231619957 15314 192.168.89.180 (10 Jan 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sat, 10 Jan 2009 20:39:17 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.14ubu (X11/20090105)
In-Reply-To: <gkarqh$2d78$1@bdhi.local>