executing perl script through .forward file
Hello Everybody,
I am working on a proprietary UNIX environment. There's a user on that box which has his .forward file setup. But the thing is that this .forward file is setup not for forwarding the mails but for executing a perl script. Whenever a mail is sent to this user from anywhere it executes the perl scripts which parses the content of the mail and creates some files.
The content of the .forward file is :
------------------
"|/home2/certify/parsemail.pl NEWLIST"
------------------
As you can see it executes parsemail.pl with the parameter NEWLIST.
The problem is that I have been asked to replicate the entire environment now on Linux. But I am not able to replicate this behavior of .forward file in linux.
The .forward file does gets created but the script does not executes.It throws errors. I have searched google for help but to no avail.
I have been stuck here for quite some time now. Please help me out with your insights.
Thanks & Regards,
Sharad
|