Email Deliverability Sent From Server
Hello,
I have an issue where I am unable to receive important emails sent from cPanel/WHM such as monitoring/alerting.
Home >> Email >> Email Deliverability reports that problems exist where the DKIM and SPF records do not exist for the domain ns*.ip.net which is the dedicated servers hostname. I understand that I cannot install these records due to this not being an authoritative nameserver due to the fact this is an OVH hostname pointing back to OVH nameservers.
How would I fix this? I rather not change the hostname for my dedicated server, but is there a way to change the default email address for emails sent from the server? I have several domains I can use that are properly configured locally on the server with SPF and DKIM records.
For context, this is an OVH dedicated server running CloudLinux v8.10 with cPanel version 122.0.18 installed.
-
Hey there! When a message is sent, what specific error do you get in the logs? Even though the message is coming from the server itself and not a normal email user, I would still expect the log to be in /var/log/exim_mainlog, and that would tell you specifically what the error is.
As far as the DNS records, you can use those records by simply copying and pasting them to wherever your DNS is managed.
0 -
The log indicates the following:
TLS_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after end of data: 550-5.7.26 Your email has been blocked because the sender is unauthenticated.\n550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM.\n550-5.7.26\n550-5.7.26 Authentication results:\n550-5.7.26 DKIM = did not pass\n550-5.7.26 SPF [server_redacted] with ip: [ip_redacted] = did not\n550-5.7.26 pass\n550-5.7.26\n550-5.7.26 For instructions on setting up authentication, go to\n550 5.7.26 https://support.google.com/mail/answer/81126#authentication 71dfb90a1353d-50c9aed2eb3si1257438e0c.305 - gsmtp
In terms of adding the DKIM and SPF records, I am not able to for the server's hostname which is the one sending cPanel logging emails, etc. This is because the domain sending these types of emails is the OVH dedicated servers hostname/domain with records that are managed by OVH themselves.
See the following warnings from Home >> Email >> Email Deliverability:
This system does not control DNS for the “server_hostname_redacted” domain. You can install the suggested “DKIM” record locally. However, this server is not the authoritative nameserver. If you install this record, this change will not be effective. Contact the person responsible for the “redacted.ovh.ca” and “redacted.ovh.ca” nameservers and request that they update the “DKIM” record with the following:
This system does not control DNS for the “server_hostname_redacted” domain. You can install the suggested “SPF” record locally. However, this server is not the authoritative nameserver. If you install this record, this change will not be effective. Contact the person responsible for the “redacted.ovh.ca” and “redacted.ovh.ca” nameservers and request that they update the “SPF” record with the following:
0 -
Does OVH not offer you a way to edit the records for that zone? If that's the case, and I know you mentioned you didn't want to do this, but I would just change the hostname as that would take care of all the issues. You'd have full control over the DNS, you could manage your own SSL certificates, etc.
0 -
OVH does not offer a way to edit those records, unfortunately. I definitely prefer not to change the hostname, but was hoping there is a way to just change the domain that sends system emails. This would solve the issue but from the sounds of it, this isn't an option.
0 -
Unfortunately you are correct, as that isn't an option - even non-cPanel machines typically send notifications from the hostname.
0 -
You should be able to do that if you have another IP in your server, using /etc/mailips & /etc/mailhelo
0
Please sign in to leave a comment.
Comments
6 comments