email to execute a script

Hi everyone,

Anyone can explain on how to setup a forwarder without using a control panel as I want to learn. I am using a Cpanel/WHM server. Is it create a .forward file and upload to the root directory of the user account? What is the format in the .forward file?

By the way, how to I execute a script whenever a given email address receive an email? Is it using .procmailrc? How email to execute a script

Thanks.

Kindest regards,
Choon

 

 

 

 

Top