Run DHCP on your internal network, and a DNS server (built into all Windows server releases) Create a DNS record for the domain name of your mail server and point it to its internal address... using an external DNS, configure the same domain to point to the outside IP address... Now simply configure the mail client to the domain name, and not the IP