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 |
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 |
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. |