cPanel Server DNS Issues Affecting Outbound Email
I recently noticed that several PHP scripts on my sites that send to external email addresses when submitted, are bouncing back mail to the "default account email address" for that account.
I checked, and the email destination is fine - so I believe the DNS affecting outbound email FROM my server is screwed up. Anyone have any idea where I go to confirm / check this setting? I cannot figure out how to even see what DNS records are being referenced when mail is being sent from my server.
Thank you in advance!
-
Hello :) What method is the script using to send out email? Is it using SMTP authentication or the Mail function with PHP? Thank you. 0 -
[quote="cPanelMichael, post: 1701541">Hello :) What method is the script using to send out email? Is it using SMTP authentication or the Mail function with PHP? Thank you.
The Mail function with PHP.0 -
The default behavior when sending email through PHP is to use the cPanel username and hostname of the server to construct the envelope-sender address. If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers. Thank you. 0 -
[quote="cPanelMichael, post: 1701821">If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers.
I guess my next questions is... how do I configure the mailer to use SMTP and authenticate with SMTP AUTH0 -
It depends on the specific script you are using. Check with a developer or support team for that script to see if you can enable it directly, or if any custom modifications are required. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments