Running a script for email received

Running a script for email received

Ori Idan ori at helicontech.co.il
Mon Aug 11 19:38:52 IDT 2014


I am trying to run a script when an email is received on my server.
I tried what described here:
http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail

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

Does anyone have any idea how to run a script for mail sent to a specific
user?

-- 
Ori Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140811/dde58028/attachment.html>


More information about the Linux-il mailing list