Below is my procmail recipe which works fantastic ...
:0bf * ^Subject.*register$ | /usr/bin/php -f /root/data/scripts/register.php
However, the recipe/script above takes up to 3 hours to complete (lots of data to process and convert), and only then does procmail continue further processing.
I added an
& at the end of the file path in the hope it would run in the background but then the script is not executed:
:0bf * ^Subject.*register$ | /usr/bin/php -f /root/data/scripts/register.php &