I think I have found a perldoc problem:

perldoc Mail::SpamAssassin says:
$f->set_persistent_address_list_factory ($factoryobj)
Set the persistent address list factory, used to cre-
ate objects for the automatic whitelist algorithm's
persistent-storage back-end. See "Mail::SpamAssas-
sin::PersistentAddrList" for the API these factory
objects must implement, and the API the objects they
produce must implement.

perldoc Mail::SpamAssassin::PersistentAddrList says:
$factory = PersistentAddrListSubclass->new();
This creates a factory object, which SpamAssassin will
call to create a new checker object for the persistent
address list.

Which does not compile. Similarly the idea of changing the code to
$factory = PersistentAddrList->new()
really doesn't cut it either...

However, review of /usr/local/bin/spamassassin I noticed that the address factory is actually:

require Mail::SpamAssassin::DBBasedAddrList;
$addrlistfactory = Mail::SpamAssassin::DBBasedAddrList->new();

This works....
I think that the documentation may need to reflect this.
--
Sometimes even to live is an act of courage.
-- Seneca



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to