RE: [Exim] help required : custom black lists -----ITS WORKI…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Thomas Kinghorn
Date:  
À: 'Suresh Ramasubramanian'
CC: 'Exim-Users (E-mail)'
Sujet: RE: [Exim] help required : custom black lists -----ITS WORKING
Sorry Suresh & Nico

The deny statement was in the wrong place. :o$

moved it to

accept  hosts = :
  deny    local_parts   = ^.*[@%!/|] : ^\\.
  accept  local_parts   = postmaster
          domains       = +local_domains


  # Deny unless the sender address can be verified.
  require verify        = sender


  deny senders =
@@partial-lsearch;/usr/exim/custom_blacklists/blocked.senders
       message = rejected because sender is in a custom black list at
company-name (company-number)


It used to be before "require verify"


-----Original Message-----
From: Suresh Ramasubramanian [mailto:mallet@efn.org]
Sent: 10 January 2003 02:03
To: Thomas Kinghorn; Exim-Users (E-mail)
Subject: 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