Bug 4774

Summary: need better way to reload configuration
Product: Spamassassin Reporter: Justin Mason <jm>
Component: LibrariesAssignee: SpamAssassin Developer Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: P5    
Version: SVN Trunk (Latest Devel Version)   
Target Milestone: Undefined   
Hardware: Other   
OS: other   
Whiteboard:

Description Justin Mason 2006-01-31 20:10:26 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.
Comment 1 Tom Schulz 2006-01-31 22:31:26 UTC
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.
Comment 2 Justin Mason 2006-09-04 12:55:16 UTC

*** This bug has been marked as a duplicate of 4914 ***