LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-19-2002, 07:36 AM   #1
magyartoth
Member
 
Registered: Feb 2002
Location: Pittsburgh, PA, USA
Posts: 73

Rep: Reputation: 15
Unhappy HUGE sendmail log


I have a Linux Red Hat 6.2 system running sendmail 8.9.x and I have this HUGE sendmail.log file in /usr/spool. It is recording EVERY message header and body...so as you can imagine, it grows enormously and I have to cat /dev/null it everyday to avoid running out of disk space. I've looked through my O'Reilly Sendmail book, but can't find any info on turning off this particular log...any ideas?

Thanks!
MT
 
Old 02-19-2002, 07:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
if you just want to kill the log completely, you should be able to remove the line in /etc/syslog.conf for mail.* or similar.
 
Old 02-19-2002, 08:00 AM   #3
magyartoth
Member
 
Registered: Feb 2002
Location: Pittsburgh, PA, USA
Posts: 73

Original Poster
Rep: Reputation: 15
That's the strange thing...it's not in there. The only log in there related to sendmail is the 'maillog' which is in a different directory. So I have no idea what is making this log or how to kill it...I could just use cron to kill it everynight, but I want to stop the logging completely...

thanx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to bust up a huge log file safely? sdebiasio Linux - Newbie 2 08-19-2004 02:50 PM
sendmail -- cpu load high & log huge !! ranger_nemo Linux - Software 2 06-08-2004 12:06 PM
huge log files - how do i shortn them? rosscopeeko Linux - General 2 03-30-2004 09:59 AM
Huge Firewall Log Files seanfitz Linux - Networking 1 01-29-2004 10:23 AM
Huge log files altor Linux - Newbie 4 09-03-2003 08:40 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration