Autor: Matt Bernstein Data: A: exim-users Assumpte: Re: [Exim] RBL filtering on a per-user basis
On Jun 22 Steve Haslam wrote: >On Fri, Jun 22, 2001 at 05:57:32PM -0400, Rick Byers wrote:
>> So far I've enabled RBL checking in Warning (X-RBL-Warning header) mode.
>> I was thinking of setting up a system-wide per-address filter which would
>> fail all messages with an X-RBL-Warning header EXCEPT when the $local_part
>> matches one from a list. Will this work? Is there a better way?
>
>You can do this in the system filter, sth like:
>
>if $header_x-rbl-warning: is not "" and "${lookup{$local_part}cdb{/etc/exim/rbl_exceptions.cdb}{yes}{no}}" is "no" then
> fail "Not welcome"
>endif
This looks exciting, but I'd like to send the fail at SMTP time, as most
bounce mails would just clog up my queue. The system filter is too late,
and I'm waiting for Exim 4 ACLs to have my cake and eat it :)