LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to stop the redhat sending me e-mail called "LogWatch" automatically? (https://www.linuxquestions.org/questions/red-hat-31/how-to-stop-the-redhat-sending-me-e-mail-called-logwatch-automatically-298920/)

chuanweizuo 03-07-2005 08:00 PM

How to stop the redhat sending me e-mail called "LogWatch" automatically?
 
Dear All

I've encountered a problem:
After logining the system, it will send me a mail called "LogWatch" or something like that. My RAM is limited, only 128M. so during the moment it sending the mail, I can hardly do anything.
How can I forbid the system sending mail automatically?

Thanks!
Regards
chuanweizuo

aqoliveira 03-08-2005 07:42 AM

howzit

u can disable sendmail this will not send any mail to root when u login etc. I do dont think that is the prob though because i have a machine with 48 Mb and its fine therefor see what else might be the problem.

cheers

Donboy 03-08-2005 09:19 AM

Run the command...

rpm -e sendmail

Which will remove the mail system completely from your RH system. However, be aware that it's a very good idea to get email reports from the system. You can disable logwatch by going into /etc/cron.daily and take a look at the scripts in there. One of them is probably logwatch which is scheduled to run daily. You can move this file to another folder on your system (i.e. /root) and logwatch will stop trying to run.


All times are GMT -5. The time now is 08:04 AM.