re:all
procmail and/or sieve seem to be the natural candidates....
With /etc/alias you could also pipe the mail into a script which would
trigger the script...




2014-08-12 12:45 GMT+03:00 E.S. Rosenberg <[email protected]>:

> procmail and/or sieve seem to be the natural candidates....
> With /etc/alias you could also pipe the mail into a script which would
> trigger the script...
>
>
> 2014-08-11 19:38 GMT+03:00 Ori Idan <[email protected]>:
>
>> 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
>>
>>
>> _______________________________________________
>> Linux-il mailing list
>> [email protected]
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to