IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 3 > Mail::SpamAssassin::PersistentAddrList man page

Mail::SpamAssassin::PersistentAddrList man page

Section 3 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


Mail::SpamAssassin::PeUsertContributeMail::SpamAssassin::PersistentAddrList(3)



NAME
       Mail::SpamAssassin::PersistentAddrList - persistent address list base
       class

SYNOPSIS
         my $factory = PersistentAddrListSubclass->new();
         $spamtest->set_persistent_addr_list_factory ($factory);
         ... call into SpamAssassin classes...

       SpamAssassin will call:

         my $addrlist = $factory->new_checker($spamtest);
         $entry = $addrlist->get_addr_entry ($addr);
         ...

DESCRIPTION
       All persistent address list implementations, used by the auto-whitelist
       code to track known-good email addresses, use this as a base class.

       See "Mail::SpamAssassin::DBBasedAddrList" for an example.

METHODS
       $factory = PersistentAddrListSubclass->new();
           This creates a factory object, which SpamAssassin will call to cre-
           ate a new checker object for the persistent address list.

       my $addrlist = $factory->new_checker();
           Create a new address-list checker object from the factory. Called
           by the SpamAssassin classes.

       $entry = $addrlist->get_addr_entry ($addr);
           Given an email address $addr, return an entry object with the
           details of that address.

           The entry object is a reference to a hash, which must contain at
           least two keys: "count", which is the count of times that address
           has been encountered before; and "totscore", which is the total of
           all scores for messages associated with that address.  From these
           two fields, an average score will be calculated, and the score for
           the current message will be regressed towards that mean message
           score.

           The hash can contain whatever other data your back-end needs to
           store, under other keys.

           The method should never return "undef", or a hash that does not
           contain a "count" key and a "totscore" key.

       $entry = $addrlist->add_score($entry, $score);
           This method should add the given score to the whitelist database
           for the given entry, and then return the new entry.

       $entry = $addrlist->remove_entry ($entry);
           This method should remove the given entry from the whitelist
           database.

       $entry = $addrlist->finish ();
           Clean up, if necessary.  Called by SpamAssassin when it has fin-
           ished checking, or adding to, the auto-whitelist database.



perl v5.8.8                       200Mail::SpamAssassin::PersistentAddrList(3)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:37:38 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6161 hits)
(FreeBSD 6.2)

sqlite3 man page (5598 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5045 hits)
(Solaris 10 11_06)

CPAN man page (4791 hits)
(Suse Linux 10.1)

ssh man page (4439 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3525 hits)
(Solaris 10 11_06)

signal man page (3395 hits)
(Suse Linux 10.1)

netcat man page (3373 hits)
(Suse Linux 10.1)

pprosetup man page (2886 hits)
(Solaris 10 11_06)

startproc man page (2738 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Electronic Circuit Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum