Re: Installing spamd as a Windows service

2010-08-18 Thread Daniel Lemke
. Best regards, Daniel Lemke -- View this message in context: http://old.nabble.com/Re%3A-Installing-spamd-as-a-Windows-service-tp29464763p29468978.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Re: Installing spamd as a Windows service

2010-08-18 Thread Jerry M
Thank you so much for the info. Yes. the monitoring script would be great as well. Thanks.again. Jerry On 8/18/2010 12:53 AM, Emin Akbulut wrote: Wow, the messages look like rocket science : ) Jerry, I'm happy that

Re: Installing spamd as a Windows service

2010-08-18 Thread Emin Akbulut
Simply schedule a batch file in 5 min. intervals -Windows Server 2008 minimum interval is 5 minute- It's not high cpu or memory consuming process. You also need freeware *cryping* utility. I use MailEnable as MTA, you may ignore it. Script produces 2 files: check.log error.log I also test SA

Re: Installing spamd as a Windows service

2010-08-17 Thread Jerry M
Ted, I used SC.exe and it installed spamd successfully as a service (at least that's what sc told me). But when I try to start it, I get Error 1053 The service did not respond to the start or control request in a timely fashion. The microsoft help on that message is completely useless. I

Re: Installing spamd as a Windows service

2010-08-17 Thread René Berber
Jerry M wrote: Ted, I used SC.exe and it installed spamd successfully as a service (at least that's what sc told me). But when I try to start it, I get Error 1053 The service did not respond to the start or control request in a timely fashion. The microsoft help on that message is

Re: Installing spamd as a Windows service

2010-08-17 Thread Emin Akbulut
I use srvman, it's easy to use, it has a gui, and it's free. I just run C:\NET\SpamAssassinWin32-EX\spamd-service.bat as Win32 service, as LocalSystem account. spamd-service.bat is below: taskkill /F /IM:spamd.exe C: CD C:\NET\SpamAssassinWin32-EX @rem spamd.exe --max-spare=6 spamd.exe -D

Re: Installing spamd as a Windows service

2010-08-17 Thread Martin Gregorie
On Tue, 2010-08-17 at 15:22 -0500, Jerry M wrote: Error 1053 I tried an internet search for 'Error 1053' and found quite a lot on the net about it: - Some hits are flogging registry cleaners - others are saying there are problems with an MS dll or .NET. - MS says it can be the result of a

Re: Installing spamd as a Windows service

2010-08-17 Thread Ted Mittelstaedt
On 8/17/2010 2:23 PM, René Berber wrote: Jerry M wrote: Ted, I used SC.exe and it installed spamd successfully as a service (at least that's what sc told me). But when I try to start it, I get Error 1053 The service did not respond to the start or control request in a timely fashion. The

Re: Installing spamd as a Windows service

2010-08-17 Thread Jerry M
I'm running Windows server 2008, 32-bit. All the latest fixpacks are installed. I used SC exactly like it said: SC create spamd binPath=c:\spamassassin\spamd.exe It came back and said service installed successfully. I bring up the services window, and it is listed as expected. I selected

Re: Installing spamd as a Windows service

2010-08-17 Thread Jerry M
Martin, None of them apply. That's why I said the info on the error on the MS site was of no use. I have no registry cleaners. It doesn't take longer than 30 seconds. The error returns instantly. I doubt seriously that there is a problem with an MS dll or .net. This is a system that

Re: Installing spamd as a Windows service

2010-08-17 Thread René Berber
Ted Mittelstaedt wrote: Rene, the instsrv.exe and srvany.exe programs were written by Microsoft to allow non-service, command-line daemon programs to be run as services. The sc.exe program replaced instsrv.exe for newer Windows versions. I know what they are, and what they do. You are

Re: Installing spamd as a Windows service

2010-08-17 Thread Ted Mittelstaedt
On 8/17/2010 3:31 PM, René Berber wrote: Ted Mittelstaedt wrote: Rene, the instsrv.exe and srvany.exe programs were written by Microsoft to allow non-service, command-line daemon programs to be run as services. The sc.exe program replaced instsrv.exe for newer Windows versions. I know

Re: Installing spamd as a Windows service

2010-08-17 Thread Martin Gregorie
On Tue, 2010-08-17 at 17:27 -0500, Jerry M wrote: I'm running Windows server 2008, 32-bit. All the latest fixpacks are installed. I used SC exactly like it said: SC create spamd binPath=c:\spamassassin\spamd.exe It came back and said service installed successfully. I bring up the

Re: Installing spamd as a Windows service

2010-08-17 Thread Ted Mittelstaedt
On 8/17/2010 3:27 PM, Jerry M wrote: I'm running Windows server 2008, 32-bit. All the latest fixpacks are installed. I used SC exactly like it said: SC create spamd binPath=c:\spamassassin\spamd.exe That isn't going to work since spamd does not have code in it to respond to service

Re: Installing spamd as a Windows service

2010-08-17 Thread Jerry M
Emin, Your recommendation worked perfectly. Thank you so much. Wow, this was painful Any chance this info could get added to the docs for the next guy? Jerry On 8/17/2010 4:37 PM, Emin Akbulut wrote:

Re: Installing spamd as a Windows service

2010-08-17 Thread Jerry M
Thanks for the info. But Emin's bat file and srvman was all it took to get it installed and running. On 8/17/2010 6:07 PM, Ted Mittelstaedt wrote: On 8/17/2010 3:27 PM, Jerry M wrote: I'm running Windows server 2008,

Re: Installing spamd as a Windows service

2010-08-17 Thread Ted Mittelstaedt
srvman and srvany are both wrappers, they do the same thing. The only difference is in who wrote them. There are a lot of small tools like that floating around. Just be aware that sometimes the security updates will break them. I'd still like to find an update for Virtual CD-ROM Control Panel

Re: Installing spamd as a Windows service

2010-08-17 Thread Emin Akbulut
Wow, the messages look like rocket science : ) Jerry, I'm happy that it helped. I think JAM version of spamd (3.3.1) cannot work if you don't change the working directory, so I invented that .bat file. I mean if you set the line spamd.exe -D --syslog=spamd.log --max-spare=6 in srvman, the

Installing spamd as a Windows service?

2010-08-16 Thread Jerry M
I can't seem to find any documentation on how to install spamd as a Windows service. I found something about getting something called NTRunner. But that appears to be obsolete. The link is dead. I've just got spamd running in a command line window. But I need it to be a service. I

Re: Installing spamd as a Windows service?

2010-08-16 Thread Ted Mittelstaedt
Microsoft has instructions for this: http://support.microsoft.com/kb/137890 They are for win nt4 and win 2000 but they work on server 2003 (and vista) if you get the tools off the server 2003 resource kit You can also use the programs off the server 2003 reskit under server 2008, well at least