Page 1 of 1
Spamassassin start on reboot?
Posted: Sat Mar 08, 2008 2:23 pm
by Galactic Zero
Hello.
Seems Spamassassin isn't starting on a server reboot. I thought qmail-scanner was supposed to set that?
What do I need to check to make sure this is configured correctly...
Posted: Sun Mar 09, 2008 7:03 am
by breun
Qmail-scanner doesn't control that. What does chkconfig --list spamassassin say?
Posted: Sun Mar 09, 2008 8:46 am
by Galactic Zero
[root@gz spamassassin]# chkconfig --list spamassassin
spamassassin 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Posted: Sun Mar 09, 2008 8:50 am
by breun
Well, that's the problem then. SpamAssassin is not started for any runlevel. A quick chkconfig --level 345 spamassassin on should fix that.
Posted: Sun Mar 09, 2008 9:26 am
by Galactic Zero
thanks...
exactly why 345? instead of say just 2? I looked at clamd and it is on for only 2. Just curious...
Posted: Sun Mar 09, 2008 9:37 am
by breun
Depends on what runlevel you're running as. Linux machines without X (GUI) usually run at runlevel 3. Linux with GUI usually uses runlevel 5. Setting it for 3, 4 and 5 is just a habit. Different distributions use runlevels differently. See
Wikipedia for more info.
You can run
runlevel to see the current runlevel.