Webmail on multiple IPs

Could this be related to this?

Whenever I add a new domain with a different assigned IP and check the “Enable mail for this domain” checkbox, the IP that appears in the mail settings is always the IP1, even if the assigned IP is different.