[Mimedefang] Re: $SASpamTester not defined in 2.57 but was in2.51?
Kevin A. McGrail
kmcgrail at pccc.com
Fri Aug 4 12:27:01 EDT 2006
Thanks, that worked. FYI for others who might have the same issue, I had to
define the $sa_object outside of the if Features{spamassassin} loop to keep
it in global scope throughout.
Regards,
KAM
> my $sa_object = spam_assassin_init();
>
> use Mail::SpamAssassin::SQLBasedAddrList;
> my $awl = Mail::SpamAssassin::SQLBasedAddrList->new();
> $sa_object->set_persistent_address_list_factory($awl) if
> defined($awl);
>
> (spam_assassin_init() sets (and returns) $SASpamTester.)
More information about the MIMEDefang
mailing list