Author Topic: Prevent bounce back of PHP mail to server  (Read 1911 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Prevent bounce back of PHP mail to server
« on: May 02, 2021, 09:29:10 AM »
I have CWPPro with the latest update.
I can see at /var/spool/mail there are many email bounce because of PHP mail script. If PHP mail send the email and that email address does not exist, it will bounce back to usercwp@hostname, for example: gtk08@abc.domain.com, where abc.domain.com is the server's hostname.

How to prevent it and send that bounce email to the email of account's owner? When creating a new account in CWP, we put the customer email address. So, how to forward that bounce email to onwer's email?

Thanks.
we are web developer in Indonesia with address: Tatamedia Solusindo | web hosting with mutiple choices | discounted software store