Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: icemannz 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?
-
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.
-
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 !
-
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.
-
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