It may be that the best shot is a custom rule for the particular header
item you want to catch, a "Received:" header I suspect.
header BAD_IP1 Received =~ /ip1\.ip2\.ip3\.ip4/
describe BAD_IP1 Another bad IP.
score BAD_IP1 20
That sort of a rule should do it. The describe line is entirely optional.
Stick these into a "blacklist.cf" file of your own in /etc/mail/spamassassin
or wherever good local ".cf" files go on your system.
{^_^}
----- Original Message -----
From: <[EMAIL PROTECTED]>
It's in the configuration screens. It's the second screen under cpanel.
Do you mean to say that I cannot enter an IP address into the
"blacklist_from" boxes?
--
** Sean Mattingly ([EMAIL PROTECTED])
** The Ultimate GTO Picture Site
** featuring Pontiac GTO cars 1964 - 2006.
** http://UltimateGTO.com
----- Original Message -----
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <users@spamassassin.apache.org>
Sent: Thursday, March 16, 2006 2:49 PM
Subject: Re: blacklist not working
[EMAIL PROTECTED] wrote:
> I have configured SA on my hosting account through Cpanel.
> I've set up about 20 blacklist settings. It's supposed to blacklist
> according to certain IP addresses. Problem is - none of them are
> actually getting blocked! The spams are still streaming in by the
dozens
> from China and elsewhere.
Erm.. How'd you blacklist by IP address? SA doesn't have any support for
that.
>
> My hosting company seems to not know what to do. How can I guide
> the hosting company (Crucial Paradigm) into fixing their installation
> of SpamAssassin to make the IP blacklisting portion operational?
>