spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: SpamAssassin service file missing after

Re: SpamAssassin service file missing after installation

From: Randy Ramsdell <rramsdell_at_nospam>
Date: Wed Oct 27 2010 - 12:49:03 GMT
To: spamassassin-users <users@spamassassin.apache.org>

Gnanam wrote:
> Hi,
>
>

> My question is, after installation, spamassassin service file is not
> available in the location /etc/init.d/spamassassin. Because of this
> 'service spamassassin start' says "spamassassin: unrecognized service".
> What could be the reason for spamassassin service file missing after
> installation? Because this service file is not automatically installed as
> part of installation, I've little doubt/fear/confusion whether it would
> create any other implications during course of usage.
>
> NOTE:
> 1. I'm installing as 'root' user here.
> 2. Also, I've installed this on RHEL4 and RHEL5, but I don't find this issue
> (missing spamassassin service file).
> 3. I also tried to copy the 'spamassassin' service file from one of my RHEL5
> to this CentOS. It is working fine.
>
> Regards,
> Gnanam

Appears you are implying this init.d script existed, then was removed
after installation which does not make sense to me.

1.Determine the spamassassin package name. ( rpm -gvf
$some_spamassassin_file )
2. Then rpm -qvl $package name

Does it show an init script?
OpenSuse uses spamd.

Also note that Redhat wrote the rpm and it is up to them to determine
what is included. I have seen more than one broken or incomplete package
in my career.