Hi,

On Tue, Feb 21, 2017 at 12:57 PM, Paul Stead
<paul.st...@zeninternet.co.uk> wrote:
> I’ve posted this before, this is how I manage these nasty TLDs:
>
> Make sure WLBLEval is enabled:
>
> loadplugin Mail::SpamAssassin::Plugin::WLBLEval
>
> Then add the TLDs to a URI_HOST list:
>
> enlist_uri_host (NEWSPAMMY) top
> enlist_uri_host (NEWSPAMMY) date
> enlist_uri_host (NEWSPAMMY) faith
> enlist_uri_host (NEWSPAMMY) racing
>
> These can then be used with eval rules:
>
> To check all URIs:
>
> header   PDS_OTHER_BAD_TLD eval:check_uri_host_listed('NEWSPAMMY')
> score    PDS_OTHER_BAD_TLD 0.1
> describe PDS_OTHER_BAD_TLD Other untrustworthy TLDs
>
> if you just want to check From address:
>
> header   PDS_FROM_OTHER_BAD_TLD eval:check_from_in_list('NEWSPAMMY')

I thought I would try and get this going, and despite not fully
understanding the comments you made in the bugreport, it doesn't seem
to work:

# spamassassin --lint
Feb 24 19:14:50.396 [14090] warn: eval: could not find list NEWSPAMMY
at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/WLBLEval.pm
line 112.

Is there something more that needs to be done than the above?

Reply via email to