You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Eric A. Hall" <eh...@ehsco.com> on 2005/03/20 21:27:48 UTC

what diff between init.pre and local.cf?

I'm trying to figure out any issues regarding config data and my
ldapBlacklist plug-in, and this is a mystery to me.

Why purpose does init.pre serve excactly if local.cf and user_prefs can
load the same plug-in modules?

-- 
Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/

Re: what diff between init.pre and local.cf?

Posted by Michael Parker <pa...@pobox.com>.
On Sun, Mar 20, 2005 at 03:27:48PM -0500, Eric A. Hall wrote:
> 
> I'm trying to figure out any issues regarding config data and my
> ldapBlacklist plug-in, and this is a mystery to me.
> 
> Why purpose does init.pre serve excactly if local.cf and user_prefs can
> load the same plug-in modules?

init.pre is loaded before all other .cf files, local.cf after all
share .cf files and right before user_prefs.  If you have a plugin
that may parse config lines then you want it to be loaded before any
of the config files are read.

Michael