-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nate Carlson writes: > On Wed, 8 Dec 2004, Nate Carlson wrote: > > I've been doing some hacks to Mimedefang to allow per-user configuration > > to be read from LDAP (using the SA ldap stuff), and have it working, > > except for the fact that preferences do not get cleared between runs of > > SpamAssassin. I took a look at the way Mimedefang is doing spam checking > > and hacked up a test script (attached) to verify this behavior. I've > > also included the .cf file I use to grab prefs out of LDAP. > > <...> > > Any comments on this? hmm, thought someone already answered. Yep, it's a limitation that's been in SpamAssassin for a long time -- currently (in 3.0.x) you can call Mail::SpamAssassin::copy_config() to copy a "clean" configuration object, before reading user preferences, then copy it again to get back to the clean config. We're hoping to get a fix in for 3.1.0 which'll be more sensible. - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBvgmyMJF5cimLx9ARAtipAJ9n9BbkhuDn+lq5GF/f9rCAiBLD/gCfUy0O rIPOBfOfQ+WoFpNLaujdRho= =eS9C -----END PGP SIGNATURE-----