I am running mailcow-dockerized on a server with 3 network cards, 1 is the lan interface, and 2 are WAN interfaces and I am hosting a separate domain on each of the 2 WAN interfaces. I am using Nginx proxy manager to reverse proxy mailcow services from my lan interface to one of my wan IPs - and when I set this up I set mailcow to use the correct IP for sending and receiving emails and it worked fine, but it seems on rebooting the server, the mailcow-dockerized server switches to use the other or ‘wrong’ WAN ip - how can I set mailcow-dockerized (or docker) to always use the correct WAN interface/address.
Any help or pointers will me much appreciated - thank you!