On Sun, 27 Aug 2006, Justin Mason wrote:

> The .pre files are only really useful if you want to use the
> plugins loaded, in the /usr/share/spamassassin files -- otherwise,
> it's fine to add "loadplugin" lines wherever you like, just bear
> in mind that lines read before the loadplugin is read will not be
> able to use the plugin.

To drift the topic just a little bit:

For testing purposes I'm loading my registrar plugin in a local rules
file. In normal use everything works as expected, but when I run
sa-learn I get redefinition errors on the public functions from the
plugin (e.g. "new() redefined in URIRegistrarPlugin.pm").

Why would sa-learn behave this way?

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]    FALaholic #11174    pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  People seem to have this obsession with objects and tools as being
  dangerous in and of themselves, as though a weapon will act of its
  own accord to cause harm. A weapon is just a force multiplier. It's
  *humans* that are (or are not) dangerous.
-----------------------------------------------------------------------
 23 days until Talk Like a Pirate day


Reply via email to