Re: Plugin configuration

2009-06-15 Thread Martin Gregorie
Many thanks. That's exactly what I wanted to know. Martin On Mon, 2009-06-15 at 15:13 +0200, Jonas Eckerman wrote: > Martin Gregorie wrote: > > > Now I'd like to configure the database configuration details from a .cf > > file, preferably the one containing the associated SA rule, so is there >

Re: Plugin configuration

2009-06-15 Thread Jonas Eckerman
Martin Gregorie wrote: Now I'd like to configure the database configuration details from a .cf file, preferably the one containing the associated SA rule, so is there a recommended way of doing this? The "parse_config" plugin method? Pointers to documentation or examples would be much apprec

Plugin configuration

2009-06-13 Thread Martin Gregorie
I'm developing an SA plugin to whitelist incoming mail from the contents of a database-based mail archive. The plugin and associated rule are working, but only because I've hard-coded the database type, name, user name and password in the plugin's 'new' method. Now I'd like to configure the databa