Andy Colson wrote:
> Along with thoes questions I'd like to add one more.  tcpserver can
> deny an ip based on some rules in a .cdb file. (tcprules and friends).
>  I currently use that on my main email box and have a good 50 to 100
> spammers ip's in there.  (whever I start getting a massive amout of
> junk from one ip I just ban it)

I use a private RBL-style list for my IP banning purposes (which I hardly have
to touch anymore).  It is much nicer than a .cdb file since it scales for
multiple servers without any work on my part.  However, it should be very easy
to rewrite one of the check plugins to do the same thing.  See this line in
check_relay for an example of loading a .cdb file as a hash ref:

my $more_relay_clients = $self->qp->config("morerelayclients", "map");

No, we don't like the "map" name but no one has come up with a better one.

John

Reply via email to