Product:
Search Type:

Centralized Mail server synchronization fails with the "Domain adding was failed. Error: Unable to get ip id by address from db" error if the Mail server is behind NAT.

Article ID: 2259 
Last Review: Oct,15 2007
APPLIES TO:
  • Expand 2.x

SYMPTOMS

My Centralized Mail server is behind NAT and has internal IP address.
When I am trying to reload the Plesk server in CMail, the action executed with the error:

Action Output
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<packet version="2.2.1.27">
    <reloadObjects>
        <system>
            <status>error</status>
            <errcode>4000</errcode>
            <errtext>Domain adding was failed. Error: Unable to get ip id by address from db</errtext>
        </system>
    </reloadObjects>
</packet>

CAUSE

This problem occurs because of Expand knows only about external CMail server IP which was used for CMail registration in Expand. But that IP does not exists on CMail because it is staying behind NAT. So, Expand tries to create domains on CMail with non existing IP and the error listed above occurs.

RESOLUTION

This problem can be solved by using internal IP for domains creation on CMail server. This IP can be set on "Centralized Mail > MAIL_SERVER_NAME  > Preferences" page in Expand CP. After that new domains on Cmail will be created with this internal IP. To change IP for already existing domains use "Centralized Mail > SERVER > Repair" button.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields