<div dir="ltr">I am trying to run a script when an email is received on my server.<div>I tried what described here:</div><div><a href="http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail">http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail</a><br>

</div><div><br></div><div>But it invoked the script for all mails not mail to a specific user</div><div>I tried the simplest thing of /etc/alias</div><div>But got error: Recipient address rejected: User unknown in virtual alias table</div>

<div><br></div><div>Does anyone have any idea how to run a script for mail sent to a specific user?</div><div><br></div><div>-- </div><div>Ori Idan</div><div><br></div></div>