Lets show you how to change the mail relaying IP address of a domain to something other than the main qmail IP address.
If primary mail server ip address is blocked in any of the spam checker sites ( eg SORBS-SPAM, BARRACUDA etc) then there is only one solution, that is change the mail server ip address on the server.
Incase of cpanel linux servers, you can easily change the mail server ip address by editing /etc/mailips file.
In PLESK you can change the outgoing mail server ip address by using “/var/qmail/control/smtproutes” file.
1) first check the domain name which is hosted on the server by using following file
2) By default the “/var/qmail/control/smtproutes” file is not present on PLESK server, you need to create it.
3) Then add the new ip address in the following format.
4) Save the file and restart qmail
There are no revisions for this post.