Just thought I'd ask as probaly Marc knows the anser but: I want to write a quick and dirty script to check html for spamyness. I thought that the easy way to do that would be to pass the html as a string object straight to some object created like this:
my $spamtest = Mail::SpamAssassin->new(); I then wanted to run this: my $status = $spamtest->check_message_text($some_html); and then this: print("Spam test:$status \n"); Alas all I get is: Spam test:Mail::SpamAssassin::PerMsgStatus=HASH(0xaca3110) as a response. What I wanted to get was a yes or no as to spaminess with a score as well. I could not make much sense of the online docs, but presumed that you get something similar for amavisd-new. Kind Regards Benedict White ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/