Page 1 of 1

chkconfig --add spamass-milter not working

Posted: Fri Aug 22, 2008 11:01 am
by jvminfo
Hi, I've installed spamassassin has it's explain in the documentation and I'm having an issue at this step: chkconfig --add spamass-milter. When I'm doing this command I'm getting this: "error reading information on service spamass-milter: No such file or directory". Does someone understand what is going wrong with spamass-milter or with chkconfig?

Thanks

J-E

Posted: Fri Aug 22, 2008 11:25 am
by Valerion
You need to install the spamassassin milter. On Red Hat/CentOS I use the one from the RPMForge repository, but it will depend on what you are running.

http://wiki.centos.org/AdditionalResour ... s/RPMForge

Posted: Fri Aug 22, 2008 11:26 am
by jvminfo
I forgot to say that I'm using Red Hat Enterprise Linux Server release 5.2 (Tikanga)

Thanks

Posted: Fri Aug 22, 2008 11:28 am
by jvminfo
And yes Spamass-milter has been install, I've used the source from this website: http://savannah.nongnu.org/projects/spamass-milt/ since there's no official release from redhat that I can install with yum.

Thanks

Posted: Tue Aug 26, 2008 9:24 am
by les
jvminfo wrote:And yes Spamass-milter has been install, I've used the source from this website: http://savannah.nongnu.org/projects/spamass-milt/ since there's no official release from redhat that I can install with yum.

Thanks


okay....

if spamass-milter is installed then you'll get info from a "rpm -qi spamass-milter" and you should have a .....

ls -la /etc/init.d/spamass-milter
-rwxr-xr-x 1 root root 1578 Jun 16 2006 /etc/init.d/spamass-milter

This is the startup script for spamass-milter and when you do a chkconfig --add spamass-milter it expects to see this file.

Permissions are important, The startup script needs to be executable, i.e. 755 permissions.

Posted: Wed Aug 27, 2008 9:02 am
by jvminfo
It's working now, thanks for the help.