Re: [Exim] Reject on "X-Easynet-RBL-Warning" header

Top Page
Delete this message
Reply to this message
Author: Anand Buddhdev
Date:  
To: Rory Campbell-Lange, Exim Users
Subject: Re: [Exim] Reject on "X-Easynet-RBL-Warning" header
On Tue, May 04, 2004 at 03:11:42PM +0100, Rory Campbell-Lange wrote:

> Easynet is routing mail to us through it servers, and sometimes adds a
> header like this "X-Easynet-RBL-Warning".
>
> I'd like to reject messages with this header. I'm not sure how to do it.
>
> acl_check_data:
>
>     deny message   = "Host in Easynet RBL"
>        condition   = ${if {$header}{"X-Easynet-RBL-Warning"}{yes}{no}}
>        log_message = "RBL: Easynet RBL $h_sender"


Try:

condition = ${if def:header_x-easynet-rbl-warning {yes} {no} }

--
Anand Buddhdev
Celtel International