On Fri, 31 Jan 2003, Justin Mason wrote:
> You need to create an auto-whitelist factory.
> 
>   use Mail::SpamAssassin;
>   use Mail::SpamAssassin::DBBasedAddrList;
>   my $spamtest = new Mail::SpamAssassin ({ .. options ... };
>   my $addrlistfactory = Mail::SpamAssassin::DBBasedAddrList->new();
>   $spamtest->set_persistent_address_list_factory ($addrlistfactory);

awesome!!  thanks jason!  works great.  don't know why i couldn't find
that documented anywhere.  i did get pretty close... i was trying to
create the factory but using the wrong module.  :-|

do you have any idea on this:

> > [on an unrelated note:  i am also using "PREFIX=>'/home/perlmods'"
> > when creating a new object as it was not finding the rules files.  i
> > meticulously went through the installation instructions, faq, readme,
> > and all online documentation.  perhaps i missed something?  again
> > note: it runs *great* from the command line w/o any "tweaking".]

i don't think i should be using the "PREFIX" variable... but i'm not sure 
why it doesn't find the rules files in the default location that i 
installed it to (note: i used the "PREFIX" assignment when i installed 
sa.)

thanks for your help!!
--kip






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to