Helo
After migrato to new exim 4.95 mysql custom lists not works
log says: R=ditch_hdrto defer -1 condition check lookup defer
all tables and fields in mysql exists
below rule

ditch_hdrto: 
driver = redirect 
allow_fail 
data = :blackhole: 
condition = ${if eq {${lookup mysql{select count(*) from 
blocklists,users,domains \ 
where blocklists.blockhdr = 'to' \ 
and blocklists.blockval = '${quote_mysql:$h_to:}' \ 
and users.localpart = '${quote_mysql:$local_part}' \ 
and domains.domain = '${quote_mysql:$domain}' \ 
and domains.domain_id=blocklists.domain_id \ 
and users.user_id=blocklists.user_id}}}{1} {yes}{no}} 
local_part_suffix = -* 
local_part_suffix_optional 
retry_use_local_part

thanks fo help
slawek
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to