jm writes: >"SpamAssassin" writes: >>I am trying to evaluate SpamAssassin 2.55 on a per user install >> through IMAPAssassin. (perl 5.008) >> >>When the message is passed to Mail::SpamAssassin, >> the score always comes back as 0 point, >> If the message is written to a file, >> then passed to spamassassin -t < input > output, >> the score points are valid. > >you need to pass the path to SpamAssassin's rules to Mail::SpamAssassin .
$SAPrefs = "$ConfDir/local.cf"; $SARules = "$ENV{HOME}/sausr/share/spamassassin"; my $SpamTest = new Mail::SpamAssassin ({ 'rules_filename' => $SARules, 'userprefs_filename' => $SAPrefs }); Thanks for Your Support, That was the problem (rules_filename) {actually Rules Dir}. I will post the full IMAPAssassin flavor I am working with (using SpamAssassin for Personal Use Install) in sourceforge.net/projects/imapassassin after final cleanup (in a few days). ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk