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 solution is to read and extensively check the config files on startup. For my plugins I use this mechanism so that Qpsmtpd won't start at all on config errors. IMHO the only reason for frequent new starts after config changes is during development, but Qpsmtpd starts up so fast, that this is no problem. Moreover I don't think changing config files for spam patterns i.e. during runtime is not a good idea, there are better plugin solutions working with external temp/scratch/pattern files or even databases. Please have a look at http://dienstleistung-kultur.de/qpsmtpd/ Ernesto