RE: [Exim] rbl whitelist

Top Page
Delete this message
Reply to this message
Author: Johnson, Michael [IT]
Date:  
To: 'exim-users@exim.org'
Subject: RE: [Exim] rbl whitelist
I am currently doing something like this it seems that hte rbl is taking
priority though.
accept  hosts = :lsearch;/etc/virtualmail/whitelist
  deny    hosts = lsearch;/etc/virtualmail/spamblock-domains
  deny    hosts = lsearch;/etc/virtualmail/spamblock-domains
  deny    message = host is listed in $dnslist_domain
  #       dnslists = lsearch;/etc/virtualmail/rbl-lists
          dnslists = blackholes.mail-abuse.org:\
                     dialups.mail-abuse.org:\
                     dnsbl.njabl.org:\
                     relays.ordb.org:\
#                    relays.osirusoft.com:\
                     blackholes.wirehub.net:\
                     blackholes.intersil.net:\
                     dun.dnsrbl.net:\
                     spam.dnsrbl.net


  require verify = sender
  deny    message = unrouteable address
         !verify = recipient
  accept  domains = +local_domains
  accept  domains = +relay_domains
  accept  hosts = +relay_hosts




-----Original Message-----
From: Dominik Ruf [mailto:dominik-exim-users@dodolin.de]
Sent: Monday, September 22, 2003 3:55 PM
To: exim-users@???
Subject: Re: [Exim] rbl whitelist


* Johnson, Michael [IT] <Michael.Johnson@???> [2003-09-22
21:38]:
> Hi Guys,
>     Any way I can only use rbls for incoming mail and not outgoing... A
> client of mine seems to be on an ip in a rbl database I use. Since this ip
> is dynamic for the short time he is on it I would like to whitelist this

ip/
> or only use rbl for incoming mail not outgoing which he is trying to

send..
> How can I go about doing this?


Adding a "domains = +local_domains" statement to the ACL section for
your DNSBL checks would only run them for recipients in your local
domains. Only problem left: Your IP to be excluded mailing to local
recipients.

Ok, another try:
Adding a "hosts = !<the-ip-to-be-excluded>" statement to the ACL
section for your DNSBL checks should just not run them for this
one IP address. You may also use a file lookup to ease updating
the changing IP.

Maybe others have better ideas...

Dominik

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##