Re: [exim] Domain filtering in router

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Adrian Chapela
Ημερομηνία:  
Προς: Exim Mailing List
Αντικείμενο: 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!