Jo Rhett wrote:

I'm kindof hoping that there will be some way to get SA to re-read the rules *WITHOUT* restarting the process.

If your software that does it's own dameonization of SA by instantiating an 
object (such as MIMEDefang or IIRC Amavis), it should be possible. Something 
like this should work:

Tell the daemon (or whatever) to reload the filter. The daemon creates one or 
more new SA object without closing it's listening socket/port/whatever. Once 
the new object(s) are created, it deletes the old.

If the daemon uses multiple prestarted processes or threads it could start new 
processes/thread with news object before killing off the old ones.

I've never looked at the Amavis code, so I have no idea how hard or easy it 
would be to make Amavis behave like this.

MIMEdefang allows me to restart it's children without restarting the daemon 
that sendmail talks to through the milter interface.

This is really outside the scope of this list though.

Regards
/Jonas
--
Jonas Eckerman, FSDB & Fruktträdet
http://whatever.frukt.org/
http://www.fsdb.org/
http://www.frukt.org/

Reply via email to