
Originally Posted by
cPanelTristan
If your PHP script is using the PHP mail() function or sendmail, exim is not used for sending the emails. In this instance, it is instead using sendmail, which bypasses the exim options and checks.
The script would need to be revised to use SMTP authentication instead of the PHP mail() function. When using SMTP to authenticate as a set user with a password, you should then be able to send using exim directly. If this does not work for sending the email with the correct domain name and IP, please provide a copy of the script for us to review.