In some cases, we are interested in using a server or VPS for e-mailing and have some IPs in turnover may be feasible in some respects.
To set the rotary IP in cPanel, please follow these steps:
Step 1 - Enter via SFTP root, open the file /etc/exim.pl and after the last line enter the code below:
Where there is xxx1, it should be replaced by IPs that want to turnover.
Step 2 - Next, open the /etc/exim.conf file and look for the line starting with ?interface?. You will find the code below:
Replace this line with:
Step 3 - After making these changes, restart exim with the following command via SSH (or via WHM):
Done, exim will now send emails with rotating IPs.
To set the rotary IP in cPanel, please follow these steps:
Step 1 - Enter via SFTP root, open the file /etc/exim.pl and after the last line enter the code below:
Code:
randinet sub {inet = ("xxx1" "XXX2" "xxx3," "xxx4"); return $ inet [int rand ($ # inet)];}
Step 2 - Next, open the /etc/exim.conf file and look for the line starting with ?interface?. You will find the code below:
Code:
interface = $ {if exists {/ etc / mailips {} $ {lookup {$ sender_address_domain lsearch} * {/ etc / mailips} {$ value} {} {}}}}
Code:
interface = $ {perl {}} randinet
Step 3 - After making these changes, restart exim with the following command via SSH (or via WHM):
Code:
[B][B]restart exim service[/B][/B]
Done, exim will now send emails with rotating IPs.