LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-07-2005, 08:00 PM   #1
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
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
 
Old 03-08-2005, 07:42 AM   #2
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
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
 
Old 03-08-2005, 09:19 AM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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.
 
  


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
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
Sending mail with "mail" using another mailserver ericcarlson Linux - Software 0 07-25-2004 05:21 AM
(1) Realtek card is called "tulip", (2) dynamic IP makes eth0 down Erhan Linux - Networking 3 12-31-2003 02:54 AM
Automatically "force load " modules of PCtel modem on redhat juby Linux - Hardware 2 01-14-2003 11:45 AM
How can I recover my RedHat if it BOOTs to a "Kernel Panic" error and stop running? yuzuohong Linux - General 5 12-05-2002 10:39 PM

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

All times are GMT -5. The time now is 12:47 AM.

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