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: Nigel Frankcom <nigel_at_nospam>
Date: Wed Oct 27 2010 - 08:22:16 GMT
To: SpamAssassin <>

Those are not optional modules.

You can either install them from CPAN or from yum (depending on the
repo you use)

As a rule if it says REQUIRED, it probably is :-)

Apologies if this is teaching you to suck eggs:

In CPAN type: install Digest::SHA

Or in yum, do yum list available and look in the Perl modules for the
correct ones then do: yum install Perl-Digest-SHA

Hope that helps


On Wed, 27 Oct 2010 01:13:56 -0700 (PDT), Gnanam <>

>I'm trying to install SpamAssassin version 3.3.1 on CentOS release 5.2
>During installation, it reported the following REQUIRED & optional module
>REQUIRED module missing: Digest::SHA
>REQUIRED module missing: HTML::Parser
>REQUIRED module missing: Net::DNS
>REQUIRED module missing: Archive::Tar
>REQUIRED module missing: IO::Zlib
>optional module missing: Digest::SHA
>optional module missing: Mail::SPF
>optional module missing: IP::Country
>optional module missing: Razor2
>optional module missing: Net::Ident
>optional module missing: IO::Socket::INET6
>optional module missing: IO::Socket::SSL
>optional module missing: Compress::Zlib
>optional module missing: Mail::DKIM
>optional module missing: DBI
>optional module missing: LWP::UserAgent
>optional module missing: HTTP::Date
>optional module missing: Encode::Detect
>I then installed all REQUIRED modules along with it's dependencies. But,
>I've not installed the optional modules.
>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.
>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.