Cosmyn
Your domain name as in Domain Controller is different to your domain name as in web domain FQDN
You can change the domain name for web purposes without affecting users on the domain controller.
I agree you should change the "web" domain name of your server to match your external domain name.
External requests for your www domain will not resolve to your server as external DNS is not configured to do that, BUT internal requests will resolve to your server eg for mail etc, which is what you want.
Well..
I see the potential need for using "config getprop smtpd HeloHost <any_msg>".
In my case i do not have my domains administered by my ISP.
Even though my IP is static, it's registered as part of an 'evil-axis-of-dial-up-IPs' in spamhaus.
My ISP(a) is cable - wich is _very_ stable - but they connect via an other large ISP(b).
Neither is interested/understand the problems when sending mails.
Now..
Because of the spamhaus-registration-hitch, i need to relay through a mail-relay at ISP(b).
However..
For some "#ยค%&/! reason this mail-relay server vill not accept mails from my server if it - correctly - identifies itself as <mydomain.tld>
Changing <mydomain.tld> to <mydomain.local> does "the trick".
Thank you for this "config getprop smtpd HeloHost <any_msg>" entry .
It saved my day
