How to restart spamassassin in an Amavis-environment ?
Hello,
I urgently need to restart Spamassassin since it stops too much mail. However i dont see a kind of 'spam-daemon': no spamd or whatsoever. Now i read someplace that in an Amavis(-new) environment, Spamassassin no longer uses it's own daemon. So the question is: how do i force Spamassassin to re-read the /etc/mail/spamassassin/local.cf-file (containing the local settings). I tried to issue 'amavisd reload' (as i was told by someone) but to no avail... Marc |
Quote:
Regards |
Hi and thanks for your reply.
Indeed i can increase the kill-level of all mails, but i this case i merely want to change some small items, and change the blacklists and/or whitelists. I assume i still have to do this in the local.cf-file that is used by spamassassin ? And then i still have the question: how to force spamassassin or amavisd to read this local conf.-file... Thanks in advance... Marc |
You can tweak local.cf to your liking and spamassassin will use it to give a score to emails. That score is then passed to amavisd to decide what to do with the emails according to the settings in amavisd,conf. So the changes you make at spamassassin's local.cf are passed to amavisd. But there is no need to restart amavisd if you change things in local.cf.
|
ok, thanks; that suggests that spamassassin reads it's local.cf file everytime it checks an email for spam. Anyhow i just changed a few small things, and will try out the effects.
Until now i only managed to get the local.cf settings enforced by 'rebooting' the whole server, but of course that should not be the standard way of working, is it .. Marc |
I think you should take a look at this article and specifically the Mail::Spamassassin topic.
Regards |
ok,thanks. Very interesting doc !
Marc |
All times are GMT -5. The time now is 11:53 AM. |