LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   /var/log/procmail.log.1 being mailed every day (https://www.linuxquestions.org/questions/linux-server-73/var-log-procmail-log-1-being-mailed-every-day-561200/)

soylentgreen 06-12-2007 11:08 AM

/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!

Berhanie 06-12-2007 06:54 PM

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.

gtparks 06-17-2007 04:38 AM

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.

soylentgreen 07-10-2007 02:47 PM

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.