tviles
You mean to ADD a domain name? I see in the server panel where I could do that....
NO. I mean to change the main domain name that the server is using, in this case domain name referring to a web URL.
This is done by logging in to the sme server as admin (instead of root), and from the admin console menu, select Configure this server.
You then step through the pages only changing the domain name (ie url) from shpdserver.local to whatever your real domain name is (I assume that will be the domain name (URL) that the 3rd party vendor for mailboxes/email is using for you).
Leave all other settings as they are.
Go all the way to the end and Save & Reboot.
It is safe to do this and all data, users, configuration etc will be retained, except for the changes you make, so be careful.
Then when your server sends email it will appear to come from a real domain and pass domain name validity checks etc that are done by receiving mail servers.
Note that the domain name (web URL) is DIFFERENT to the name given to the trusted DOMAIN of computers, ie the DOMAIN CONTROLLER part of sme server.
Changing the name of the trusted DOMAIN is done in server manager, and is shown as the workgroup name, with of course the domain controller setting enabled.
If you change the workgroup/domain name then you will have to unjoin all workstations and then rejoin them to the domain, potentially a big job.