Implementing IPV6
Hello,
I am implementing IPV6 on a server with multiple accounts. I am using one for testing.
I have the IPV6 enabled, assigned to the account. All the DNS checks and pings tests, internal and external are ok. It seems to be working fine.
Now I am trying to exim to sent messages through IPV6.
I am using "Send mail from account’s dedicated IP address" option in exim config.
Checking /etc/mailips file. I see it has references for other IP4 settings on specific domains, but the test account with IPV6 is not listed. Should I add manually?
And, as far as I read, I should create the file /var/cpanel/exim_ipv6_sort_bias
Is that ok?
-
https://docs.cpanel.net/knowledge-base/email/how-to-configure-the-exim-outgoing-ip-address/ has a pretty simple walkthrough. Make sure that IPv6 is enabled in your exim settings, and that you tell cpanel to reference the 2 files, and to not use the dedicated IP address (if you don't, it will simply overwrite any changes, and you're back to using IPv4, which is cpanels default dedicated IP sender). Be sure to bind the v6 IP to the domain. The server will default to IPv4 for everything, but will use the v6 address for sending email if the /
etc/mailheloand /etc/mailips are edited correctly and not overwritten.0 -
Yes, you’re on the right track. You’ll need to add the IPv6 address for that account manually
/etc/mailipssince Exim doesn’t auto-populate IPv6 entries yet.Example:
domain.com: 2600:xxxx:xxxx::1Also, creating
/var/cpanel/exim_ipv6_sort_biasIt is correct, it helps Exim prioritize IPv6 for outbound mail. After adding both, rebuild the Exim configuration and restart Exim to apply the changes.0 -
After adding these IPs in /etc/mailips, make sure to include the IPv6 address in the SPF record as well; otherwise, mail delivery will fail.
0
Please sign in to leave a comment.
Comments
3 comments