Cpanel Email Configurations

Job ID: 31047160

Budget: $10 – $30 USD

I have a cPanel Email Configuration that forwards a catch all to a PHP script. This is working fine, the forwarded email comes in through the stdin and I forward it to another server for further processing. The issue is that some emails do not have any recipient address in the headers. I believe this is due to the forwarder only forwarding the content of the email and not which recipient address received the email. I need help with configuring this. The aim is to be able to get the original recipient of the incoming email.
Related categories: PHP System Admin Linux SMTP