Re: [Exim] help required : custom black lists

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Suresh Ramasubramanian
Fecha:  
A: Thomas Kinghorn, Exim-Users \(E-mail\)
Asunto: Re: [Exim] help required : custom black lists
On Friday, January 10, 2003 5:11 PM [GMT+0530=IST],
thomask@??? (Thomas Kinghorn) wrote:

> I keep getting spammed from jhgpdrdrmniog@??? but
> the custom rule i have set up blocks the entire domain, not just the
> user.


  deny  senders = @@partial-lsearch;/usr/local/etc/exim/blocked.senders
        message = Administrative Prohibition - No Spam Allowed


blocked.senders is of the format -

# blocks the domain jsnnews.net
jsnnews.net             *
# blocks xpression@??? and call@???
vsnl.net                xpression:call


etc etc.

Then, if you want to block IPs, setup and run rbldns
(http://cr.yp.to/djbdns/rbldns.html) - you can also aggregate various
blocklists locally using this one ... so you setup a dnsbl
dnsbl.example.com - and maybe build a query interface to it.

accept  authenticated = *
deny    message = IP blocked - see
http://dnsbl.example.com/$sender_host_address
dnslists      = dnsbl.example.com
hosts           = !+relay_from_hosts


For example - see http://spamblock.outblaze.com/spamchk.html

    srs