RE: [exim] Exclude certain senders or receive address from r…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mark Smith
Dátum:  
Címzett: exim-users
Új témák: RE: [exim] Exclude certain senders or receive address from rebel lists
Tárgy: RE: [exim] Exclude certain senders or receive address from rbl lists


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Godfrey
> Sent: 23 November 2005 22:49
> To: exim-users@???
> 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 joe@??? writes to bob@???
> I would like to add joe@hotmail 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    = joe@???
  recipients = bob@???
  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