Setting SPF uses private IP instead of public
Hello there!
When I enable the SPF the value uses the private IP of the server, instead of the public one. Why is this? and how can I change it so it doesn't happens again?
I've noticed that me and my clients are having some email issues, like not receiving some emails with no notification from the server, or people that uses outlook, and it is not able to connect properly, despite the user, password, ports, etc are correct.
Any thought?
Thanks!
-
Hi @carolainn I had opened a case about mail deliverability reports reporting the internal IP address erroneously and it was found that this seems to only occur in cases where the NAT configuration is not set up properly. Can you tell me what the output of the following is: cat /var/cpanel/cpnat0 -
Hello Lauren, Thanks for your quick reply. The output is the following: cat: /var/cpanel/cpnat: No such file or directory 0 -
Hi @carolainn That may explain the issue. Can you run the following and let me know the output (just remove the actual public IP address) /scripts/build_cpnat0 -
Lauren, Here's the output. warn [build_cpnat] Unable to map xx.xxx.x.176 info [build_cpnat] xxx.xx.xx.234 => xxx.xx.xx.234 info [build_cpnat] All publicly routeable addresses are the same as the local address. Not a NAT system. 0 -
What does cat /etc/wwwacct.conf | grep ^ADDR show? Does the first octet start with 192 or 10? 0 -
What does cat /etc/wwwacct.conf | grep ^ADDR show? Does the first octet start with 192 or 10?
Hello, the output is: ADDR 148.xx.xx.234 ADDR60 -
In your initial message you indicated: When I enable the SPF the value uses the private IP of the server, instead of the public one
But based on the output of that command you do not have a private IP address.0 -
In your initial message you indicated: But based on the output of that command you do not have a private IP address.
Sorry, my mistake. I meant reserved IP (10.xxx.x.176) which only the server uses. All the accounts are configured with the other one (148.xx.xx.234), but when I set the SPF on, it uses the reserved IP by default.0 -
Hi @carolainn Sorry, my mistake. I meant reserved IP (10.xxx.x.176) which only the server uses. All the accounts are configured with the other one (148.xx.xx.234), but when I set the SPF on, it uses the reserved IP by default.
10. anything should be a private IP address it sounds as though there may be a misconfiguration with the NAT routing please feel free to open a ticket while we won't be able to resolve issues with the configuration itself we may be able to let you know how to proceed. Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!0 -
Ok, thank you, I'll let you know as soon as it's resolved. 0
Please sign in to leave a comment.
Comments
10 comments