I need to pipe incoming emails to a specific address to a PHP script on DigitalOcean. I have done this on shared servers in Cpanel using a forwarder to |/opt/alt/php56/usr/bin/php -q /home/somesite/public_html/folder/somescript.php but I’m not sure how to set up something similar (if possible) on DigitalOcean VPS.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.