> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Godfrey
> Sent: 23 November 2005 22:49
> To: [email protected]
> Subject: [exim] Exclude certain senders or receive address 
> from rbl lists
> 
> Hi
> 
> I need to be able to exclude certain incoming address from 
> going through the rbl process.
> 
> For example if  [EMAIL PROTECTED] writes to [EMAIL PROTECTED] 
> I would like to add [EMAIL PROTECTED] address to a list so that if  
> hotmail land on one of the black lists below, bob who joe 
> writes to still get his email.
> 
> These is the lines in my config file I would like help in 
> applying this to.
> 
> deny message     = $sender_host_address found in a black list at 
> $dnslist_domain\n $dnslist_text
>       log_message = found in $dnslist_domain
>        hosts      = !+localhost : !+mynet : *
>        dnslists   = bl.spamcop.net :\
>                     sbl-xbl.spamhaus.org:\
>                     list.dsbl.org :\
>                     dnsbl.sorbs.net :\
>                     combined.njabl.org :\
> 
> As I have a customer on my case I would really  appreciate 
> any meaningful help with this.
> 
> 
> Kind Regards
> 
> Godfrey
> 

If it's just for that one particular case, then before the "deny" block you
could add:

warn
  senders    = [EMAIL PROTECTED]
  recipients = [EMAIL PROTECTED]
  set acl_m1 = whitelisted

Then add this to the "deny" stanza:

!condition = ${if eq{$acl_m1}{whitelisted}}

There's probably a much more elegant way to do it, though.

- Mark


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to