Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!think.com!linus!linus!mbunix!dsg From: dsg@mbunix.mitre.org (Goldberg) Newsgroups: comp.sys.mips Subject: Forwarding mail from cron Message-ID: Date: 20 Nov 90 20:08:39 GMT Sender: usenet@linus.mitre.org Organization: The Mitre Corp., Bedford, MA. Lines: 21 I maintain several Unix based systems, including a MIPS RS2030. One thing that makes life alot easier for me is to forward mail from root on all the remote machines to a single account. That way I don't have to remember log in to thirty odd machines every day to make sure everything is OK (thiry odd xload's is sufficient :-). Anyway, the problem is on the RS2030. Cron uses /bin/mail rather than /usr/ucb/mail to mail the stdout and stderr of cron jobs. No problem: I made symbolic link from /usr/ucb to /ucb and edited a copy of the cron binary to use /ucb/mail. This works fine for root's crontab. The problem is the periodic stuff. That seems to be copied directly to /usr/mail/root. I don't see where /bin/mail is entering into it. Is there any way to get periodic stuff forwarded? Or should I just blow it away, and move it into root's crontab file. Thanks for any help -- Dave Goldberg UNIX Systems Programmer/Administrator The Mitre Corporation MS B020 Bedford, MA 01730 617-271-2460 Domain: dsg@mbunix.mitre.org UUCP: {your neighborhood}!linus!mbunix!dsg