On 6/10/2005 3:04 PM, Eric A. Hall wrote: > What I specifically need from AWL is number of instances for the current > sender tuple, with the value of "one" (for the current message) being the > magic number. Any suggestions would be appreciated.
http://spamassassin.apache.org/full/3.0.x/dist/doc/Mail_SpamAssassin_AutoWhitelist.html says that "$meanscore = awl->check_address($addr, $originating_ip);" is supposed to work for this but it always seems to return undef no matter what. Is it supposed to do what I think it's supposed to do or do I need to do some other stuff first (like setup a factory or whatever)? > Looking through the permsgstatus docs, getting the threshold and current > spam score values looks pretty simple. This doesn't seem to be easy, either. It looks like I have to put the code for pulling current score in a sub check_end {} block but it's not behaving... I'm trying to figure out what URIBLDNS does here but it's not simple like I'd hoped. So much for "quick and dirty" -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/