Author: Nitin Salvi Date: To: exim-users Subject: [Exim] Checking Router
Please help me, Here my question --
Exim is acting as the relay box which accepts the mail fro certain
domains and delivers them to certain domain.
Here's what I want to do
-- I would like to check the message body for certain footer
information
-- On the check is will perform the following
If it matches the footer
information is will forward the message to the Recipient
If it does not match the
information it will redirected back to the Sender.
Here's the router config I am trying to
Use
ses_no_footer:
driver = domainlist
transport = sema_no_footer
domains = !vid.com : !*.vid.com : *
condition = "${if and {{!match {$message_body_end}{This message will
traverse the public Internet in the process of delivery to its intended
recipient on the other network, and therefore may be intercepted by third
parties. This message does not include any information that is classified
as VID Confidential or VID Secret}} \
{!match {$message_body}{This message will traverse the public Internet in
the process of delivery to its intended recipient on the other network,
and therefore may be intercepted by third parties. This message does not
include any information that is classified as VID Confidential or VID
Secret}} \
} \
{yes}{no}}"
route_list = * 10.1.1.1 bydns_a