Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-04 Thread Peter J. Holzer
On 2007-12-03 21:56:48 +0100, Niklas Therning wrote: Matt Sergeant wrote: On 3-Dec-07, at 2:45 PM, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-04 Thread Niklas Therning
Peter J. Holzer wrote: On 2007-12-03 21:56:48 +0100, Niklas Therning wrote: Matt Sergeant wrote: On 3-Dec-07, at 2:45 PM, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The

Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread Niklas Therning
Hi, I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would like my plugin to pick up those changes automatically. Now, I've tried to periodically check the timestamp of

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread Matt Sergeant
On 3-Dec-07, at 2:45 PM, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would like my plugin to pick up those changes automatically. Now,

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread m. allan noah
On Dec 3, 2007 3:26 PM, Matt Sergeant [EMAIL PROTECTED] wrote: On 3-Dec-07, at 2:45 PM, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread Niklas Therning
Matt Sergeant wrote: On 3-Dec-07, at 2:45 PM, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would like my plugin to pick up those changes

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread Niklas Therning
Roger Walker wrote: On Mon, 3 Dec 2007, Niklas Therning wrote: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would like my plugin to pick up those changes

Re: Reload plugins without restarting qpsmtpd-forkserver?

2007-12-03 Thread Ernesto
Niklas Therning wrote on 03.12.2007 20:45: I'm writing a qpsmtpd plugin for our custom spam filter. The plugin reads a couple of custom configuration files at startup. The config files may change at any time and I would like my plugin to pick up those changes automatically. I think, a better