You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andrew Xiang <xi...@gratingworks.com> on 2004/12/02 23:08:19 UTC
whitelist_from override all the spam check?
If I use whitelist_from user@x.com , it should not classify the email as
spam no matter what the score is, right?
-Andrew
Re: lint failed
Posted by Matt Kettler <mk...@evi-inc.com>.
What version of SA are you using?
That rule will only work under SA 3.0.x. It's not compatible with earlier
versions, including SA 2.6x with the SpamCopURI patch.
If you're using 3.x, make sure you've got the URIDNSBL plugin loaded and
working in the first place before you add the JP rule.
For safety you can surround that rule with an ifplugin statement:
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
urirhssub URIBL_JP_SURBL multi.surbl.org. A 64
body URIBL_JP_SURBL eval:check_uridnsbl('URIBL_JP_SURBL')
describe URIBL_JP_SURBL Has URI in JP at
http://www.surbl.org/lists.html
tflags URIBL_JP_SURBL net
score URIBL_JP_SURBL 4.0
endif # Mail::SpamAssassin::Plugin::URIDNSBL
That way if the plugin isn't loaded, the rule will be skipped entirely,
just like the other URIBL rules.
At 05:24 PM 12/2/2004, Andrew Xiang wrote:
> spamassassin --lint
>config: SpamAssassin failed to parse line, skipping: urirhssub
>URIBL_JP_SURBL multi.surbl.org. A 64
>Failed to run URIBL_JP_SURBL SpamAssassin test, skipping:
> (Can't locate object method "check_uridnsbl" via package
>"Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
>"Mail::SpamAssassin::PerMsgStatus"?) at
>/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line
>2296.
>)
>lint: 2 issues detected. please rerun with debug enabled for more
>information.
>
>
>local.cf:
>
>
>urirhssub URIBL_JP_SURBL multi.surbl.org. A 64
>body URIBL_JP_SURBL eval:check_uridnsbl('URIBL_JP_SURBL')
>describe URIBL_JP_SURBL Has URI in JP at http://www.surbl.org/lists.html
>tflags URIBL_JP_SURBL net
>
>score URIBL_JP_SURBL 4.0
lint failed
Posted by Andrew Xiang <xi...@gratingworks.com>.
spamassassin --lint
config: SpamAssassin failed to parse line, skipping: urirhssub
URIBL_JP_SURBL multi.surbl.org. A 64
Failed to run URIBL_JP_SURBL SpamAssassin test, skipping:
(Can't locate object method "check_uridnsbl" via package
"Mail::SpamAssassin::PerMsgStatus" (perhaps you forgot to load
"Mail::SpamAssassin::PerMsgStatus"?) at
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line
2296.
)
lint: 2 issues detected. please rerun with debug enabled for more
information.
local.cf:
urirhssub URIBL_JP_SURBL multi.surbl.org. A 64
body URIBL_JP_SURBL eval:check_uridnsbl('URIBL_JP_SURBL')
describe URIBL_JP_SURBL Has URI in JP at http://www.surbl.org/lists.html
tflags URIBL_JP_SURBL net
score URIBL_JP_SURBL 4.0
Re: whitelist_from override all the spam check?
Posted by Andrew Xiang <xi...@gratingworks.com>.
guess that should be good enough. -100.
----- Original Message -----
From: "Marco van den Bovenkamp" <ma...@linuxgoeroe.dhs.org>
To: <us...@spamassassin.apache.org>
Sent: Thursday, December 02, 2004 5:11 PM
Subject: Re: whitelist_from override all the spam check?
> Andrew Xiang wrote:
>
> > If I use whitelist_from user@x.com , it should not classify the email as
> > spam no matter what the score is, right?
>
> No, 'whitelist_from' is a -100 score.
>
> --
>
> Regards,
>
> Marco.
>
Re: whitelist_from override all the spam check?
Posted by Marco van den Bovenkamp <ma...@linuxgoeroe.dhs.org>.
Andrew Xiang wrote:
> If I use whitelist_from user@x.com , it should not classify the email as
> spam no matter what the score is, right?
No, 'whitelist_from' is a -100 score.
--
Regards,
Marco.