LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-10-2003, 02:43 PM   #1
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Log mailing.


A few months ago, I posted here a question regarding the possibility to mail the system logs to an outsider mail address (like one at yahoo or any other mail service) so I could check those form work.

The problem is this: I have set up a small home server which is an internet router, ftp server, file server and print server for a maximum of 8 simultaneous users. Since I cannot check every time I'm at home the system logs, I'd like the computer to send me on a daily base those logs to my (extern) e-mail account. Now my question obviously is: How do I do that?? or if it is even possible to do that? (I imagine it should be possible).

I'm almost certain that in order to do that I must properly set sendmail to be able to contact foreign e-mail services and cron or at to handle the daily process of sending them. The logs could be the body of the mail messages, and obviouly it would be futile to send the whole log of say XFree86.0.log or the messages log file, instead I was thinking of sending the tail of those very long logs, (leaving out the XFree86.0.log, since the computer has no X )

Any advice or pointing to any useful howto would be swell (I tend to be a very lousy googler and to date been uable to find anything at tldp.org)

Thanks in advance, Thetargos.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help With Mailing! linuxnoob7 Linux - Software 14 08-15-2005 10:14 AM
mailing praveenv Linux - Newbie 2 09-10-2004 05:19 AM
Apache mailing log error esteeven Linux - Software 1 04-16-2004 03:02 AM
e-mailing Linux~Powered Linux - Software 3 02-12-2004 08:07 PM
Mailing changes in log paulten Linux - Networking 2 05-06-2003 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration