[exim] $sender_host_address match not working

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dmitry Pryadko
Date:  
À: exim-users
Sujet: [exim] $sender_host_address match not working
please explain what I do wrong
I have named list called relay_from_hosts
and router below is my first router
if sending host exists in relay_from_hosts, this router must decline,
but it accepts
why ?

relay_to_mailhost:
     driver = manualroute
     domains = +relay_to_domains
     condition = ${if !match_ip{$sender_host_address}{+relay_from_hosts}}
     transport = remote_smtp
     route_data = ${lookup mysql{select mailserver from domains_servers 
where domain='${quote_mysql:$domain}'}}


--
Dmitry Pryadko
hosting.rbc.ru