Dedicated Ip For Exim
Hi All,
I am looking to set a dedicated IP for Exim. From this article: How to Configure Exim's Outgoing IP Address - cPanel Knowledge Base - cPanel Documentation
It would seem that you cannot have a dedicated IP for Exim and also at the same time allow people with dedicated IPs to send from their IP. Am I correct in this?
-
Hi Michael, I have followed the guide here: Changing Exim's Sending IP - The cPanel Admin To set this up initially, go into WHM > Exim Configuration and enable this option: ** Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface) [?] Or, in /etc/exim.conf.localopts, add/change this line: per_domain_mailips=1 Then run /scripts/buildeximconf service exim restart *The /etc/mailips file should be root:exim, chmod 440 if it doesn"t already exist. [Removed - setting /etc/mailips to immutable can result in several problems, including failed account creation attempts] Now for actually changing the IP: Changing the IP Globally If you want everyone on the server to send out on the same IP, just add the following to /etc/mailips: *: xxx.xxx.xxx.xxx Then add the IP and it"s matching PTR to /etc/mail_reverse_dns: xxx.xxx.xxx.xxx hostname.tld This will tell Exim to use that IP for any sender on the server. Will this also work? 0 -
The documentation in steps in my previous response describe the supported method of defining a default IP address and defining specific IP addresses for specific domain names. The method in your last response is outdated and doesn't reflect that /etc/mailips and /etc/mailhelo are automatically overwritten when enabling the option to send email from an account's IP address. Thank you. 0 -
Thanks Michael. 0
Please sign in to leave a comment.
Comments
4 comments