Koozali.org: home of the SME Server

Spamassassin doesn't startup automatically

icemannz

Spamassassin doesn't startup automatically
« on: April 02, 2004, 10:33:44 AM »
Hi, I use SME Server 6. I followed the instructions on the http://sme.swerts-knudsen.dk/ web page to install Spam Assassin. The Spam Asssassin works ok but I need to manually start it with service spamassassin start.
I am fairly new to linux.
Can someone please tell me how to get this to start automatically.
There is a file in /etc/init.d called spamassassin.
There is also a file in /etc/rc3.d called S80spamassassin.
Not sure how to troubleshoot why it doesn't start?

jaspar

Spamassassin doesn't startup automatically
« Reply #1 on: April 02, 2004, 02:45:58 PM »
I have also had this same problem.
Works ok if manual start.
Found this in the /var/logs/maillog

Apr  2 20:40:31 gateway spamc[2028]: connection attempt to spamd aborted after 3 retries
Apr  2 20:40:33 gateway spamc[2066]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Apr  2 20:40:34 gateway spamc[2066]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused

I have tried editing the user and preferences that spamd runs at in the /etc/init.d/spamassassin with no luck.

Offline wyron

  • *
  • 275
  • +0/-0
    • http://www.ideast.dk
Spamassassin doesn't startup automatically
« Reply #2 on: April 02, 2004, 03:07:38 PM »
Well, I have the problem with mailforwarding being deactivated, when SpamAssassin is activated.
But your best bet is to have a look at Jespers contrib and howto at http://sme.swerts-knudsen.dk
Good luck !
Greetings
wyron
...

jaspar

Spamassassin doesn't startup automatically
« Reply #3 on: April 02, 2004, 03:35:51 PM »
My installation was a clean install of 6.01-01.

Then all scripted installs from http://sme.swerts-knudsen.dk/.

No other mods or config changes.

Offline raem

  • *
  • 3,972
  • +4/-0
Spamassassin doesn't startup automatically
« Reply #4 on: April 02, 2004, 08:20:38 PM »
To check if spamd running

/etc/init.d/spamd status

To start spamd

/etc/init.d/spamd start

To check if spamassassin is enabled

grep spamassassin /home/e-smith/configuration

should give output something like

spamassassin=service|required_hits|5|skip_rbl_checks|1|status|enabled

to enable spamassassin

Look in your spamassassin server manager panel and select enabled (if your version has that feature)

otherwise

/sbin/e-smith/db configuration set spamassassin service status enabled
/sbin/e-smith/signal-event email-update

After enabling (if that was the problem)
Reboot your server to check that spamassassin starts

Hope that helps
Regs
Ray
...