We're migrating our home server (email, web, file sharing, ...) from an older RedHat Linux machine to a fast new Mac Mini running OS X server, to complement our growing number of Mac OS machines at home.
I'm trying to figure out how to best configure our system. I've used the Server.app and Workgroup Manager to configure a bunch of the basics, and believe I will be pretty happy using the GUI tools to manage file sharing, and some of the basic services.
I have relatively complex settings for postfix/dovecot and apache httpd from my linux server that I would like to migrate in a reasonable way. I am a little confused about how the GUI interacts with the underlying settings within the MacOS server for the built-in mail and web servers.
I've seen some people reference commands like "sudo serveradmin settings XYZ" however I haven't found a complete reference manual describing all the potential commands, and it feels like a hacky approach. (Is there a reference manual for all settings?) How do commands like these relate to plist files floating around on the server? Is this documented somewhere?
I think I would be more comfortable directly editing config files and then restarting services...I think I could more or less reuse my more complex postfix or apache rules. A quick look around suggests they are in /private/etc. Is that correct? If I wish to edit these directly, what is the right way to restart services? If I edit them directly, will it mess up Server.app GUI? Will it be compatible with issuing individual "sudo serveradmin settings mail:XYZ" commands? Will it make it more difficult to upgrade to OS X Server 10.9 in the future?
More broadly, I guess I'm interested in best practices for tuning OS X server to meet my needs...