I have a virtually hosted account ( user ) on one of my servers. This account has about 10 emails, one of wich is [email protected] I'm trying to make exim forward any email sent to [email protected] to a php script ( /home/usr/script.php ).
After looking up some info, i found this had to be done using the /etc/aliases file. so in this file i have put &script: |/home/user/script.php&.
When i send an email to [email protected], exim doesn't report any errors, but it just sends the email to the default [email protected] account.
Has anyone ever done this before on a machine running WHM? I would appreciate any feedback on this topic.
Thanks.
After looking up some info, i found this had to be done using the /etc/aliases file. so in this file i have put &script: |/home/user/script.php&.
When i send an email to [email protected], exim doesn't report any errors, but it just sends the email to the default [email protected] account.
Has anyone ever done this before on a machine running WHM? I would appreciate any feedback on this topic.
Thanks.