You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tarak Ranjan <ta...@liqwidkrystal.com> on 2007/10/22 14:33:43 UTC
URICOUNTRY_XX
hi List ,
Oct 22 17:47:47 mail spamd[31665]: rules: failed to run
URICOUNTRY_CN test, skipping:
Oct 22 17:47:47 mail spamd[31665]: (Can't locate object method
"check_uricountry" via package "Mail::SpamAssassin::PerMsgStatus" at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line
2625, <GEN39> line 749.
Oct 22 17:47:47 mail spamd[31665]: )
i m getting this error , please help
--
Thanks & Regards,
Tarak
www.liqwidkrystal.com
Re: URICOUNTRY_XX
Posted by Theo Van Dinter <fe...@apache.org>.
On Mon, Oct 22, 2007 at 06:03:43PM +0530, Tarak Ranjan wrote:
> Oct 22 17:47:47 mail spamd[31665]: rules: failed to run
> URICOUNTRY_CN test, skipping:
> Oct 22 17:47:47 mail spamd[31665]: (Can't locate object method
> "check_uricountry" via package "Mail::SpamAssassin::PerMsgStatus" at
>
> i m getting this error , please help
You have some rule that is looking for a function which doesn't exist. I'm
going to guess you're not loading the appropriate plugin.
Since this is not a standard rule, you'll have to figure out what plugin that
is. In the mean time, I'd recommend commenting out that rule.
--
Randomly Selected Tagline:
"For all those who say that Microsoft never creates anything original,
just remember that they have now invented the cross-platform virus."
- Phillip Karlsson
Re: URICOUNTRY_XX
Posted by Matt Kettler <mk...@verizon.net>.
Tarak Ranjan wrote:
> hi List ,
> Oct 22 17:47:47 mail spamd[31665]: rules: failed to run
> URICOUNTRY_CN test, skipping:
> Oct 22 17:47:47 mail spamd[31665]: (Can't locate object method
> "check_uricountry" via package "Mail::SpamAssassin::PerMsgStatus" at
> /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm
> line 2625, <GEN39> line 749.
> Oct 22 17:47:47 mail spamd[31665]: )
>
I'm presuming you're trying to use the URICOUNTRY rules from the wiki at:
http://wiki.apache.org/spamassassin/URICountryPlugin
In order for these rules to work, you must also save the perl code to a
file named URICountry.pm, and create a loadplugin statement for it that
must run *before* the rules.
Note: the code starts with the line. "=head1 NAME"
Assuming you've added URICOUNTRY_CN to your local.cf, or some other .cf
in /etc/mail/spamassassin, I'd also put URICountry.pm there, and use
this loadplugin for it (instead of the one suggested in the wiki):
loadplugin /etc/mail/spamassassin/URICountry.pm
Note that loadplugin needs to occur before any "uricountry" statements
are used in your config files..