LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2004, 05:06 AM   #1
skverma_in
LQ Newbie
 
Registered: Oct 2004
Posts: 7

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl Script to download file apt Programming 4 10-19-2005 08:33 AM
include a file in perl script Ateo Programming 1 04-22-2005 09:53 PM
executing perl script through .forward file skverma_in Linux - Newbie 3 10-21-2004 07:24 AM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration