Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-12-2007, 12:08 PM   #1
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, 07:54 PM   #2
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 07:59 PM.
Old 06-17-2007, 05:38 AM   #3
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, 03:47 PM   #4
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30

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


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

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration