Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hanliong

Pages: 1 2 3 [4]
46
E-Mail / 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.

Pages: 1 2 3 [4]