Article View: news.software.nntp
Article #31905Re: mail from leafnode?
From: steve
Date: Thu, 01 Oct 1998 00:00
Date: Thu, 01 Oct 1998 00:00
31 lines
2452 bytes
2452 bytes
By the way, what you're seeing is the result of the nightly cron jobs being executed.. like texpire. Cron takes the stdout from the application and forwards it all as an email sent from and to the userid that the cron job ran as. In this case, the job ran as news, so news sent itself mail which contained the output of the expire job (most likely). A better idea is to make sure /etc/aliases (someone check this fname!) has news: root root: <youruserid> That way, when YOU log in, YOU get all mail that the system tried to send to root (various security violations or error conditions) and the mail that news tried to send to itself gets rerouted to root, which in turn gets rerouted to you. If you're aiming to be a professional UNIX admin one day, try to get in the habit of only rerouting root to yourself, for instance, because in the real world, it'd be one big PITA to reroute all of the userids (there's more than just news.. look at /etc/passwd one day) to the new person who gets root mail when you're done with it. Just rerouting root, or adding one more name to the root rerouting list is much easier. --sj > > >> I check my logs in the morning to see what has happened overnight, errors, > > >> etc, and I notice that user news sent user news mail. I can't quite figure > > >> out how to read mail for user news. I log in as root, su to news and try > > >> mail, but it says no mail for root. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Technical Details
Message-ID:
<6v0q6t$mjs$1@nnrp1.dejanews.com>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!not-for-mailReferences:
<6utihf$3e3@newsops.execpc.com> <slrn714jqs.109.fluffy@fluffy.meow.org> <6utjrj$u7m$1@node17.cwnet.frontiernet.net> <36132D8D.2021AEB6@Psnw.Com>Show Full Headers
Complete Article Headers
Message-ID: <6v0q6t$mjs$1@nnrp1.dejanews.com> Subject: Re: mail from leafnode? Date: Thu, 01 Oct 1998 00:00:00 +0000 From: steve@slac.com References: <6utihf$3e3@newsops.execpc.com> <slrn714jqs.109.fluffy@fluffy.meow.org> <6utjrj$u7m$1@node17.cwnet.frontiernet.net> <36132D8D.2021AEB6@Psnw.Com> 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!not-for-mail X-Deja-AN: 396790053 X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 204.235.81.209 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Oct 01 20:54:54 1998 GMT Newsgroups: news.software.nntp X-Http-User-Agent: Mozilla/2.0 (compatible; MSIE 3.02; Update a; Windows NT)