Hi,
I was told by my administrator that the Email Forwarding feature in Cpanel can be used to execute a perl script similar to symlink.
For example I'm trying to forward the email [email protected] to /home/domain/testfile.pl and at the same time the script should execute to parse the email.
Does anyone know what I need to type into the add email forward to get this script to execute? The alias has already been set up but I need and additional statement to execute the script at the same time.
here's what I've been putting into the 'add email forwarder':
exec &/home/domain/testfile.pl&
Anyone can help or have knowledge on how to do this?
or does the server need a symlink in order for it to work?
perhaps it is a syntax error????
thanks a bunch
I was told by my administrator that the Email Forwarding feature in Cpanel can be used to execute a perl script similar to symlink.
For example I'm trying to forward the email [email protected] to /home/domain/testfile.pl and at the same time the script should execute to parse the email.
Does anyone know what I need to type into the add email forward to get this script to execute? The alias has already been set up but I need and additional statement to execute the script at the same time.
here's what I've been putting into the 'add email forwarder':
exec &/home/domain/testfile.pl&
Anyone can help or have knowledge on how to do this?
or does the server need a symlink in order for it to work?
perhaps it is a syntax error????
thanks a bunch