How to configure rotating IP in cPanel?

Tags:
Control panel
IP address
VPS
Hello, 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. It would be great if some help me out how do I configuring rotating IP in cPanel? Thank you
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

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:

randinet sub {
inet = (“xxx1” “XXX2” “xxx3,” “xxx4”);
return $ inet [int rand ($ # inet)];
}

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:

interface = $ {if exists {/ etc / mailips {} $ {lookup {$ sender_address_domain lsearch} * {/ etc / mailips} {$ value} {} {}}}}

Replace this line with:

interface = $ {perl {}} randinet

Step 3 – After making these changes, restart exim with the following command via SSH (or via WHM):

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: