Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: razon_nnn on November 22, 2008, 07:29:08 PM

Title: access.log and message.log auto send to the mail
Post by: razon_nnn on November 22, 2008, 07:29:08 PM
Dear All,

I am new member in linux forums. I need access.log and message.log auto send my yahoo mail.please help me.....


thanks
Nazmul
Title: Re: access.log and message.log auto send to the mail
Post by: Ricky on November 26, 2008, 09:00:22 AM
I never did but if sendmail is configured on your server then you can send mail using following line:
Code: [Select]
/usr/sbin/sendmail address@example.com < path/to/access.log
Can do same for other files. Alternatively there is a command line email client
www.mutt.org/doc/manual/

To run the above command at periodic time, you can use cron job.
Here is a link which will explain use of cron :
unixgeeks.org/security/newbie/unix/cron-1.html
Title: Re: access.log and message.log auto send to the mail
Post by: linuxmuthu on December 28, 2008, 11:57:15 AM
hey... dear u have already login do this site have that facility.... u just try to new login...