After setting up a new Mail-in-a-Box install, the IP addresses configured in /etc/mailinabox.conf are partly out of date (because I hadn’t configured NAT to send traffic from the correct public IP for the box at the time of configuration) and partly just wrong (the box has multiple IPv6 addresses, as is generally the case, and setup didn’t choose the one I want to open to external traffic). I tried updating the values in the configuration file, but they don’t seem to be reflected anywhere.
How do I properly update public and private IP addresses?