I am trying to run spamd.exe file which runs the spamassassin for windows, as a windows service. I tried
sc create spamassassin binPath="C:\Program Files (x86)\JAM Software\SpamAssassin for Windows\spamd.exe" DisplayName="Spam Assassin" start=auto
and got
[SC] CreateService SUCCESS
as result.
I can now see "Spam Assassin" in the Services. When I right click on it and select "START" I am getting an error like "Error 1053: The service did not respond to the start or control request in a timely fashion."
There is nearly no topics about sc.exe running spamd.exe file as a service, so I decided to ask that in here.
I know that spamd.exe is capable of running as a Windows Service with an old utility of Microsoft's, SrvAny. But it's too old and not compatible with Windows Server 2012 or x64 executables (That's what I read in the forums).
Can someone tell me why I am getting that 1053 error on the service start, or at least a way to have spamd.exe run as a service in windows server 2012 environment?
Thanks!