SA Bugzilla – Bug 4774
need better way to reload configuration
Last modified: 2006-09-04 05:55:16 UTC
I've noticed that using the SIGHUP method to reload the configuration, often seems to allow messages to pass through unscanned while the spamd restarts. We need a better, less heavyweight method to reload config, instead of a full daemon stop/restart cycle.
Check out what Sendmail does. It disconnects from the children, letting them live to complete their current job. When the children finish their current job and discover that their parent is gone, they exit. The other thing that you would need would be for the new daemon to grab the port quickly on startup. I think that Sendmail may do something fancy so that the new daemon is started before the old one exits. Perhaps the Sendmail developer could give you a quick outline on how he did it.
*** This bug has been marked as a duplicate of 4914 ***