How to change mail server IP address in PLESK
Windows hosting servers are best to host web site and it supports totally different Microsoft technologies and due to different activities on hosting resources in server if primary mail server IP address is blocked in any spam checker sites ( eg BARRACUDA, SORBS-SPAM etc) then there’s only 1 solution, that’s ever-changing the mail server IP address on the server.
You can simply change the mail server IP address in cPanel by using /etc/mailips file. Aa similar in PLESK you change the outgoing mail server IP address by using “/var/qmail/control/smtproutes”file.
Below are the steps which shows how to change the mail server ip address in PLESK :
Step 1: Firstly , by using the following file check the domain name which is hosted on the Windows hosting server
cat/var/qmail/control/rcpthosts domain1.com domain2.com domain3.com domain4.com domain5.com
Step 2: On PLESK server the “/var/qmail/control/smtproutes” file is not present by default, you have to create it.
vi /var/qmail/control/smtproutes
Step 3: Then add the new ip address in the format as shown below.
domain1.com:192.168.x.2 domain2.com:192.168.x.2
Step 4: After that Save the file and restart qmail
/etc/init.d/qmail restart
Note: To original IP address please replace the “192.168.x.2” and the “yourdomain.com” as same that of the original domain name.