If you want to start AfterLogic XMail Server as a simple test, you must setup an environment variable MAIL_ROOT that points to the AfterLogic XMail Server root directory.
Linux/etc.:
export MAIL_ROOT=/var/XMailRoot
Windows:
set MAIL_ROOT=C:\MailRoot
Let the user specify extra command line parameters (they will be appended to the ones specified in the command line).
Let the user specify the PID directory (Unix only ports). The specified directory must NOT have the final slash (/) appended to the path.