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