Re: [exim] Domain filtering in router

Top Page
Delete this message
Reply to this message
Author: Adrian Chapela
Date:  
To: Exim Mailing List
Subject: Re: [exim] Domain filtering in router
Hello,

I am experimenting with conditions and I think this could be a posible
solution:

condition = "${if and { {match_ip{$sender_host_address}{192.168.1.21}}
{ match_domain{$domain}{+local_domains}}}}"

My problem now is the "$domain" variable. This variable is the domain of
sender but I need filter by the domain of recipient. I want to bypass
filter all mails sent in local network which doman destiny is a local
domain... What is the recipient domain variable ?? I can't find it in
documentation....

Thank you!