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

Top Page
Delete this message
Reply to this message
Author: Rory Campbell-Lange
Date:  
To: Exim Users
Subject: [Exim] Reject on "X-Easynet-RBL-Warning" header
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"


Rory
--
Rory Campbell-Lange
<rory@???>
<www.campbell-lange.net>