/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! |
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. |
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.
|
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 |
All times are GMT -5. The time now is 11:19 AM. |