info.mailtraq.com > Management > Server Restart Server RestartRestart Tab

Restart Mailtraq periodically Enable this option to cause Mailtraq to restart itself at the specified time. This tool is used to clear socket and memory allocations in Windows. Using Restart on W7 and W2008 In some protected modes Windows may prevent Mailtraq from performing a scheduled restart. If that is an issue in your environment then you should install this Mailtraq utility. Mailtraq Guardian Mailtraq Guardian will restart Mailtraq for you if environmental factors prevent an automatic restart. Just unzip in the Mailtraq directory and run "MailtraqGuardian /install" then "net start MailtraqGuardian" It reads the configuration from the machine it is hosted on and checks all SMTP, POP3 and IMAP non-SSL services that automatically start. It checks every two minutes and on three consecutive failures it starts a shut-down / start-up cycle (two minutes apart). Alternative ways of stopping and Starting Mailtraq Command line To start the Mailtraq service from the command-line - at Start | Run enter: net start mailtraqservice To stop the Mailtraq service from the command-line - at Start | Run enter: net stop mailtraqservice Batch file You can create a batch file, run as a Windows scheduled task, to stop and restart Mailtraq using the following: net stop mailtraqserver ping localhost -n 15 > nul net start mailtraqserver The 'ping' forces a delay in the restart to allow sockets to close before starting Mailtraq again. 'Ping' is used here as the simple 'wait' command will not force a delay. You can adjust the amount of delay to suit the local machine by adjusting the numer of 'pings'. |