[EMAIL PROTECTED] wrote: > Hi,I was wondering if someone on the list has a procmail recipe that > can achieve the following: if the mail was originally destined for > root, and then gets forwarded to me, flush it to /dev/null or forward > it again to another account if the mail is a result of a cronjob eg > with a subject 'Crontab run successfully ',flush it to /dev/null all > other mail,forward to another account. thanks.
If I understand you correctly, you don't want cron to send mail of jobs it's completed. Why don't you simply edit crontab and in the MAILTO= field, leave it blank (or hash it out altogether). I've had partial luck with this across various systems, perhaps yours could be lucky. Regards, Mark Tinka Technical Manager, Africa Online Swaziland --------------------------------------------- This service is hosted on the Infocom network http://www.infocom.co.ug
