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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Rory Campbell-Lange
Datum:  
To: Exim Users
Betreff: [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>