Okay, that makes sense. Too bad they don't point that out! Thanks for the help.

Here are the results ....

# locate redhat-rc-script.sh
/root/.cpan/build/Mail-SpamAssassin-3.1.0/spamd/redhat-rc-script.sh

# cp /root/.cpan/build/Mail-SpamAssassin-3.1.0/spamd/redhat-rc-script.sh /etc/rc.d/init.d/spamassassin cp: cannot stat `/root/.cpan/build/Mail-SpamAssassin-3.1.0/spamd/redhat-rc-script.sh': No such file or directory

I have to be doing something stupid ......

Thanks for the patients ...




Matt Kettler wrote:
Jeffrey Duncan wrote:
I installed using cpan Mail::SpamAssassin as listed on SA site.  It's
working, but it won't start as a service.

neither service is listed in that directory.

Ok, if you installed from CPAN, you essentially installed from source.

The source will NOT install a service script.

Service scripts are distribution specific. ie: they differ between Redhat Linux,
suse Linux, Solaris, and freebsd. There is no universal common format for them
that applies to all *nix oses.

The SA source does come with several service scripts you can use, but it doesn't
automatically install them.

Find the "redhat-rc-script.sh" (probably in /root/.cpan/ somewhere) and copy it
to /etc/rc.d/init.d/spamassassin. That should let you treat SA as a redhatish
service.






Reply via email to