SERVER SHUTDOWN

[Linux]

Under Linux, AfterLogic XMail Server creates a file named AfterLogic XMail Server.pid in '/var/run' that contains the PID of the main AfterLogic XMail Server thread. By issuing a:

 kill -INT `cat /var/run/AfterLogic XMail Server.pid`

a system administrator can initiate the shutdown process (this can take several seconds). You can use the supplied 'xmail' startup script to start / stop / restart AfterLogic XMail Server:

 xmail start / stop / restart
[NT as console service]

Under NT console service (AfterLogic XMail Server --debug ...) you can hit Ctrl-C to initiate the shutdown process.

[NT as service]

Using [Control Panel]->[Services] you can start and stop AfterLogic XMail Server as you wish.

[All]

AfterLogic XMail Server detects a shutdown condition by checking the presence of a file named '.shutdown' in its main directory (MAIL_ROOT). You can initiate AfterLogic XMail Server shutdown process by creating (or copying) a file with that name into MAIL_ROOT.