#!/usr/bin/perl use Mail::Audit; my $item = Mail::Audit->new(); strace of this codes tells that it is wating for input. I thought this will read the mail from user mail. ********************** open("/usr/share/perl/5.8/constant.pm", O_RDONLY|O_LARGEFILE) = 5 ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfdc5e98) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(5, 0, [0], SEEK_CUR) = 0 read(5, "package constant;\n\nuse strict;\nu"..., 4096) = 3051 _llseek(5, 3050, [3050], SEEK_SET) = 0 _llseek(5, 0, [3050], SEEK_CUR) = 0 close(5) = 0 read(4, "ore (man MIME::Parser) set C?From )\n .*?\\b\n (Post(m"..., 4096) = 2878 read(4, "", 4096) = 0 close(4) = 0 read(3, "", 4096) = 0 close(3) = 0 read(0, *******************************************