Run shell script on email recieved

Shaw, Brian bshaw at vsvinc.com
Tue Jun 9 14:19:00 CEST 2015


 

ActiveSync does push notifications. If you really need do it by hand,
procmail could be your best friend. 

Brian 

On 2015-06-09 5:04 am, Dugite-Code wrote: 

> I want to run a script (probably python) when one of my email addresses receives an email with the ultimate aim to get push notifications for my phone. 
> 
> So far I have tried several methods of adding lines to postfixes master.cf 
> 
> eg: http://unix.stackexchange.com/a/179256 [1] 
> 
> but my simple shell script witch runs: touch /home/user/test.txt is never executed. 
> 
> Ideas? 
> 
> Regards
> Dugite-Code https://github.com/dugite-code/ [2] 
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users [3]

 

Links:
------
[1] http://unix.stackexchange.com/a/179256
[2] https://github.com/dugite-code/
[3] https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150609/c458437c/attachment.html>


More information about the users mailing list