You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2004/09/15 19:22:39 UTC

Re: init() Annoyance, Suggestions Welcome

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Michael Parker writes:
> Hi All,
> 
> I know that init() has to be called to do just about anything, but
> there are times (ie sa-learn) when I don't want init() to do some
> things.  My specific annoyance is the score set setup, and calling
> is_scan_available, but I could probably come up with something else,
> like AWL setup.
> 
> Anyone have any suggestions?  Maybe a flag/bitmask to pass into init
> to tell it things is is welcome to skip because we won't be needing
> them?

I suggest a flag passed in to the Mail::SpamAssassin ctor.
good plan btw.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFBSHpfQTcbUG5Y7woRAsb3AJoCe8M2RGvvX/vPioSy6fb6KaS3BACglRT3
pM1FfwETfCz4sA1CqsOAjro=
=8IRh
-----END PGP SIGNATURE-----