LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-12-2007, 11:08 AM   #1
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Rep: Reputation: 30
/var/log/procmail.log.1 being mailed every day


I recently took over a mail server running procmail.

The /var/log/procmail.log.1 is being mailed to my boss daily, but he doesn't want it to anymore. The person who set this machine up has not worked for the company in a few years.

I have checked the /etc/procmailrc, cron, and several files in the /etc/procmail directory, but I cannot find where this log is being mailed from.

is there a default location this would have been set? (procmail is very new to me, I have had very little experience with it)

Any help is much appreciated.. Thanks!
 
Old 06-12-2007, 06:54 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Go through the individual scripts called by cron (including users' cron
jobs -- the mail log might give you a clue as to who is running the script). Also check the logrotate config file/directory for postrotate scripts.

Last edited by Berhanie; 06-12-2007 at 06:59 PM.
 
Old 06-17-2007, 04:38 AM   #3
gtparks
LQ Newbie
 
Registered: Dec 2005
Distribution: RedHat, CentOS, Fedora, Ubuntu
Posts: 10

Rep: Reputation: 2
Also, check out logwatch, which typically runs out of /etc/cron.daily (Fedora) around 4 am. Logwatch handles log rotation and possible mailing of log files. I use webmin to configure logwatch.
 
Old 07-10-2007, 02:47 PM   #4
soylentgreen
Member
 
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
solved

it was in logrotate.d

thanks for helping me narrow it down

in /etc/logrotate.d
there was a procmail file that i had to vi

thanks again
 
  


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
/var/log/packages and /var/log/setup sunny_5252 Slackware 4 05-17-2007 08:17 PM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:26 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