All,
sudo serveradmin set mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_host = "example.com:587"
didn't work for me, even though the ountput of
sudo serveradmin settings mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_host
(and restart the mail system)
shows the right thing mail:postfix:smtp_auth_relay_dict:smtp_auth_relay_host = "example.com:587"
but /Library/Server/Mail/Config/postfix/main.cf does not.
I had to do it the old school way (like Charles suggested)
sudo vi /Library/Server/Mail/Config/postfix/main.cf
and add relayhost = host.example.com:587 (actually add the port only)
and issue 'sudo postfix reload' and it works.
The fun part is when I clieck on the 'Edit' button for 'Relay outgoing mail through ISP' it show blank.
I did not wanted to save it, so at this point I don't know what the result will be.
I think this is a major bug.
Thank you all for helping me figure it out.
At this point I will wait untill Apple fixes the issue before I migrate.
Michael Abadjiev