At 11:43 PM +0100 06/14/2013, Martin Gregorie wrote:
Are you sure? Take a look at how sa_update is getting run to make sure
that it is doing what you expect.

Yes, I'm sure. I looked at the update script (in my case, it's called update_spamassassin, due to the way Parallels Pro configures their services)... all it does is call sa_update. It does nothing to restart spamd. This is likely an artifact of Parallels Pro messing with things in their distributions.

I also checked the actual spamd process, and this confirmed it had not been restarted since January. This is the 'ps aux' output before I restarted the process:

root 2286 0.0 1.1 44992 37632 ? Ss Jan08 5:49 /usr/bin/spamd --max-conn-per-child=1 -d -c -m5 -H -r /var/run/spamd.pid

On the other hand, the files in /var/lib/spamassassin/ get updated nearly every night. So, sa_update is running, but spamd is not restarting.

I've added a line into that script to restart spamd nightly. It should start tonight. I guess I should only restart it if sa_update actually returns 0... but there's not too much harm in just doing it nightly anyway.

Thanks.
                                                --- Amir

Reply via email to