Restart Mail/News services after config change
If you change some conference/mail settings you have to stop and restart wcSMTP, wcMail, wcListserve and wcNNTP. You can do this with the following batch file:
d:\wc5\restartmail.bat @Echo off d: cd \wc5 echo Shutting down wcMAIL... start /wait wcpostwm wildcat.shutdown.wcmail echo Shutdown message sent!
echo Shutting down wcNNTP... start /wait wcpostwm wildcat.shutdown.wcnntp echo Shutdown message sent! echo Shutting down wcListserve...
start /wait wcpostwm wildcat.shutdown.wclistserve echo Shutdown message sent! echo Shutting down wcSMTP... start /wait wcpostwm wildcat.shutdown.wcsmtp
echo Shutdown message sent! echo.
echo Restarting wcListServe, please wait... start wclistserve.exe echo Restarting wcSMTP, please wait... start wcsmtp.exe
echo Restarting wcMAIL, please wait... start wcmail.exe echo Restarting wcNNTP, please wait... start wcnntpserver.exe echo.
echo All mail programs have been restarted, exiting script!
|
More about wcPostwm
Update
(since 5.5.450.1)
There’s a new wcPostwm parameter Wildcat.Restart.wcMail to restart wcMail. Or right click to the wcMail icon in the taskbar and choose Restart
.
(since 5.6.450.6)
Added new channel event logic to automate the reloading of wcMAIL and wcSMTP changed configuration.
|