RE: forwarding logs

From: Smith, Albert (Albert.Smith_at_genexservices.com)
Date: 04/05/05

  • Next message: Saqib.N.Ali_at_seagate.com: "Using two authentication methods"
    Date: Tue, 5 Apr 2005 14:13:16 -0400
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    Ignore my last message

    Albert Smith
    Sr. Unix Systems Administrator
    HPCSA, RHCT
    Genex Services
    440 E. Swedesford Rd.
    Wayne, PA 19087
    albert.smith@genexservices.com
    (610) 964-5154
     

    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com] On Behalf Of Burke, Thomas G.
    > Sent: Tuesday, April 05, 2005 2:09 PM
    > To: David.Bear@asu.edu; General Red Hat Linux discussion list
    > Subject: RE: forwarding logs
    >
    > Yes, I am getting e-mails. It seems to follow as I said
    > below... Interesting - if I mail to root, I get the mail,
    > but as I said, it there seemd to be a dependance on having a
    > domain on the address in the scripts. I did not start
    > getting any mails from cron until I modified its mailto
    > option. Same with another script. Seems I saw something
    > about this when looking through sendmail docs, but I don't
    > recall the specifics.
    >
    > Someone else asked what version - I'm running RH 6.2 with all
    > updates up to, but not including 7.1 releases - kernel
    > 2.2.24... I've not upgraded, as my ipchains firewall works
    > wonderfully, & I don't have the time to sit down & learn
    > iptables. Besides, 6.2 has been working great for 5 years or so, now.
    >
    > -Tom
    >
    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com]On Behalf Of David Bear
    > Sent: Tuesday, April 05, 2005 1:33 PM
    > To: General Red Hat Linux discussion list
    > Subject: Re: forwarding logs
    >
    >
    >
    > are you getting any emails? maybe its not the syslog system,
    > but the mail system.
    >
    > try going into a standard user account, create a .forward
    > file, then as root, sent a mail message to that user. check
    > the destination mailbox to make sure it was delivered. Then
    > check /var/log/messages or /var/log/maillog to see if there
    > are any usefull error messages.
    >
    > On Tue, Apr 05, 2005 at 09:04:34AM -0400, Burke, Thomas G. wrote:
    > > 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@redhat.com [
    > > mailto:redhat-list-bounces@redhat.com]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@workemail.com
    > >
    > > 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@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe
    > mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    > --
    > David Bear
    > phone: 480-965-8257
    > fax: 480-965-9189
    > College of Public Programs/ASU
    > Wilson Hall 232
    > Tempe, AZ 85287-0803
    > "Beware the IP portfolio, everyone will be suspect of trespassing"
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=subscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Saqib.N.Ali_at_seagate.com: "Using two authentication methods"

    Relevant Pages

    • RE: forwarding logs
      ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
      (RedHat)
    • Re: Automating ripping
      ... > Someone has a script to run abcde as a daemon, ... export the server drive/storage as NFS export. ... >> Reuben D. Budiardja ... Choose freedom. ...
      (RedHat)
    • brute force ssh login attempts and how to Disrupt them
      ... My head ... and I heard a rhythmic tick-tock coming from ... back, the idiot was gone so apparently, the script gives up ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: CD to acc
      ... I m learning python, so thought i should write small py script to ... os.system (cmd) ... Run this script, while you are in the mounted CD ROM dir... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • RE: export question
      ... environment, but that is what export is supposed to do. ... 'set' command. ... It *is* set in the sub-process created when you run the script. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)