View Single Post
  #4  
Old 7th July 2010, 09:02
vigremrajesh vigremrajesh is offline
Junior Member
 
Join Date: Jul 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb mail quota alert postfix

Hi when I try to put this script in crontab and then exceute cron tab it says an error in the first 4 lines that

use strict; use command not found

my $POSTFIX_CF = "/etc/postfix/main.cf" my command not found
my $MAILPROG = "/usr/sbin/sendmail -t" my command not found
my $WARNPERCENT = 80 my command not found
my @POSTMASTERS = 'quota@premediaglobal.com' my command not found


can anybody help me out of this. so that I can put this on my crontab for monitoring the quota alert...

thanks and regards
vigrem rajesh. M
Reply With Quote