Re: forwarding logs
From: Reuben D. Budiardja (techlist_at_voyager.phys.utk.edu)
To: General Red Hat Linux discussion list <firstname.lastname@example.org> Date: Tue, 5 Apr 2005 12:24:08 -0500
On Tuesday 05 April 2005 12:03, Burke, Thomas G. wrote:
> An update...
> It appears that any script that has a "mailto" of root does not get
> forwarded. If I change the "mailto" to email@example.com, then it seems to
> work. I think there is something subtlr going on here. Any clues?
Hm... not sure if I can help any.
What OS are you talking about here? What script for what log ? Based on my
experience, once you set up the aliases for root in /etc/aliases, it does not
matter what happens in the machine or script. Any email that is accepted by
the sendmail (as MDA) for root will get forwarded to the account you set up
in the alias. The script does not have anything to do with that.
But I could be wrong. I've used this approach on all our machines (Redhat
7.x-9, RHEL 3,4, Fedora) and it always works.
Could you try, as local user to the machine, send email locally to root, and
see if you get it in the expected email account ? something like
user> echo "helloworld" | mail root
This will make sure that local email to root works.
-- Reuben D. Budiardja Dept. Physics and Astronomy University of Tennessee, Knoxville, TN -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++ ------END GEEK CODE BLOCK------ -- redhat-list mailing list unsubscribe mailto:firstname.lastname@example.org?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list