[exim] Check for a particular header in exim router

Top Page
Delete this message
Reply to this message
Author: soumya tr
Date:  
To: exim-users
Subject: [exim] Check for a particular header in exim router
Hi,

Is it possible to compare for a particular strings in header:

Something like the one given below:

-----------------
mycustom_route:
    driver = dnslookup
    condition = "Check if the email header contains the string
"X-Mail-Forwarder"            --- Not sure how to achieve this
    ignore_target_hosts = +loopback : 64.94.110.0/24
    headers_add = "${perl{mailtrapheaders}}"
    transport = remote_smtp
-----------------


Please let me know if any queries.

--
Regards,
Soumya