SpamAssassin for Win32 as a Service
Home › Forums › Scripting › General Scripting › SpamAssassin for Win32 as a Service
- This topic has 1 reply, 1 voice, and was last updated 11 years, 6 months ago by
[email protected].
-
AuthorPosts
-
[email protected]MemberJul 18, 2009 at 10:43 am #143212Hi all ,
I’m trying to install SpamAssassin for Win32 as a Service for integration with hMailServer on win2k3 EE 32bit
using tools provided by Windows Server 2003 Resource Kit Tools
with the following tools
Instsrv.exe: Service Installer & Srvany.exe: Applications as Services Utility
here’s an examplemy steps as follows
1- command line arguments for spamd.exe as follows
-l This allows you to use spamc to learn a msg as ham, spam, or to forget what it previously learned.
-s This sets the log path to spamd.log
–round-robin Use the old style spawn method
c:saspamd.exe -l -s c:saspamd.log —-round-robin
[/CODE]
Daemonize spamd.exe
[CODE]
instsrv.exe Spamd c:saspamd.exe -l -s c:saspamd.log –round-robin srvany.exe[/CODE]the above command adds the Spamd to services.msc snapin
when i show properties of the command binary path it shows only [CODE]c:saspamd.exe [/CODE] with no arguments
also it fails to satrtso i tried to modify binpath using [CODE]sc [/CODE]
with the following command
[CODE]
sc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as follows
[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]c:saspamd.exe -l -s c:saspamd.log —-round-robin
[/CODE]
Daemonize spamd.exeinstsrv.exe Spamd c:saspamd.exe -l -s c:saspamd.log –round-robin srvany.exe[/CODE]
the above command adds the Spamd to services.msc snapin
when i show properties of the command binary path it shows only [CODE]c:saspamd.exe [/CODE] with no arguments
also it fails to satrtso i tried to modify binpath using [CODE]sc [/CODE]
with the following command
[CODE]
sc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as follows
[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]
instsrv.exe Spamd c:saspamd.exe -l -s c:saspamd.log –round-robin srvany.exe[/CODE]the above command adds the Spamd to services.msc snapin
when i show properties of the command binary path it shows only c:saspamd.exe [/CODE] with no arguments
also it fails to satrtso i tried to modify binpath using [CODE]sc [/CODE]
with the following command
[CODE]
sc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as follows
[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]c:saspamd.exe [/CODE] with no arguments
also it fails to satrtso i tried to modify binpath using sc [/CODE]
with the following command
[CODE]
sc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as follows
[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]sc [/CODE]
with the following commandsc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as follows
[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]
sc config spamd binpath= ” c:saspamd.exe -l -s c:saspamd.log –round-robin”
[/CODE]
successfly i modified the path to binary to be as followsc:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]
c:saspamd.exe -l -s c:saspamd.log –round-robin
[/CODE]but it also fails to start
i tried to modify registery database directly
but spamd fails to start
any ideas would be a great assist
by the way it’s an issue with services managment facility not SpamAssassin issue
because the spamd.exe with command line arguments works vey well
spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance[CODE]spamd.exe -l -s c:saspamd.log –round-robin [/CODE]
thanks in advance -
AuthorPosts
You must be logged in to reply to this topic.