I'm making spam modifications to : /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf After I've made these changes, how do I restart spamassassin so that I can see the effects? Restarting my server isn't a good solution. :/ Also, how do I check what version of spamassassin I'm running? Thanks.
Restarting Spamassassin & version check On Debian Etch you can restart Spamassassin with: /etc/init.d/spamassassin restart You can check the Spamassassin version with: spamassassin -V The output will be somethink like: SpamAssassin version 3.1.7-deb running on Perl version 5.8.8
Thanks for the response Hans. Unfortunately though, none of those commands work under my CentOS 4.5 perfect setup install. Are there other commands I need to use for CentOS?
Ok then... probably it is someting like: /etc/init.d/spamd retstart I am not sure but maybe you can check the version with: spamd -V or -v
-bash: /etc/init.d/spamd: No such file or directory -bash: spamd: command not found Spamassassin is definitely installed too. I can accept/discard and change settings.
What's the output of: netstat -tap | grep spamd The output should be something like: tcp 0 0 localhost.localdo:spamd *:* LISTEN 12345/spamd.pid
Yes, I followed "The Perfect Setup - CentOS 4.4" step by step. All my services work correctly too. SpamAssassin is working fine and labels messages as spam. What am I missing? Also, this page: http://www.ispconfig.com/manual_installation.htm says to run the command: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin When I run that, nothing happens, it just sits there until I hit ctrl + c. I assume that's good?
Spamassassin is not running as daemon, there is no restart needed after you changed the local.cf file. All changes were used when the next email is scanned.
ls /etc/init.d/* This will show all commands in that folder. You may find the application on it's name? Otherwise post the output here please.