Hi All, I am new to Linux administration. I am stuck with the configuration of .forward file in Linux (don't know the version :( how to know the version of linux, any comand?)).
Actually the requirement is : Whenever a user gets a mail a perl script gets executed and parses the mail and stores the relevant information. For this I created a "testuser" and created a .forward file in it's home dir., but that script is not getting executed. What I am doing is I am logging in as root and sending the mail to "testuser" like this: # mail -s "test" [EMAIL PROTECTED] < mailfile, mailfile is the mail which will be parsed by the perl script. Now when I am logging in as testuser, the mail is recieved in this user account but the script is not executed. .forward file contains : "|/home/testuser/testmail.pl NEWLIST". The permission of .forward file is 755. Also I am not able to send mail logged in as this user to some external emailid. and neither am i able to recieve mail sent to this user from any external id. I want to send mail to this user with fully qualified domain name and the script should get executed, i.e., mail should go to [EMAIL PROTECTED] Currently this is also not happening. Please help me with this problem. I have wasted enough of my time on this. Prompt help from anybody would be highly appreciated. Thanks & Regards Sharad ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
