RE: forwarding logs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've done all this (except the permission checking)...  No change so far.  What *should* the permissions be?
 
    -Tom

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Reuben D. Budiardja
Sent: Tuesday, April 05, 2005 8:34 AM
To: General Red Hat Linux discussion list
Subject: Re: forwarding logs



On Tuesday 05 April 2005 08:25, Burke, Thomas G. wrote: 
> All, 
> 
>  Just reinstalled my server, and am having problems getting the logs 
> forwarded where I want.  In the past, I've had all logs forwarded to my 
> work e-mail.  I have one set working, but only because I have changed 
> root's email address deep down inside some scripts.  I've put a ".forward" 
> in root's home directory, but the system does not seem to be forwarding 
> mail.  What am I doing wrong? 

I usually just edit the /etc/aliases file to have an email for root forwarded 
to a different account: 

root: me@xxxxxxxxxxxxx 

Then run 'newaliases'. 

If you use .forward file, the pitfall is usually with the permission of 
the .forward file. Take a look at /var/log/maillog or /var/log/messages (ie. 
grep for ".forward"). 

You should not need to cange anything in the log script itself. 

RDB 
-- 
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:redhat-list-request@xxxxxxxxxx?subject=unsubscribe 
https://www.redhat.com/mailman/listinfo/redhat-list 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux