<div dir="ltr">re:all <br><div dir="ltr"><div>procmail and/or sieve seem to be the natural candidates....<br></div>With /etc/alias you could also pipe the mail into a script which would trigger the script...<br></div><br><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-12 12:45 GMT+03:00 E.S. Rosenberg <span dir="ltr"><<a href="mailto:esr@g.jct.ac.il" target="_blank">esr@g.jct.ac.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>procmail and/or sieve seem to be the natural candidates....<br></div>With /etc/alias you could also pipe the mail into a script which would trigger the script...<br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">2014-08-11 19:38 GMT+03:00 Ori Idan <span dir="ltr"><<a href="mailto:ori@helicontech.co.il" target="_blank">ori@helicontech.co.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<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" target="_blank">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><span><font color="#888888"><div><br></div><div>-- </div><div>Ori Idan</div><div><br></div></font></span></div>
<br></div></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>