Re: [exim] Domain filtering in router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adrian Chapela
Date:  
À: Exim Mailing List
Sujet: 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!