Hi,

I reject some generated recipient addresses that are spammed:

deny
  message   = ...
  domains   = +local_domains
  condition = ${if match{$local_part}{[0-9]+}{yes}{no}}

But I'd like to get the regexp from a database:

condition = ${if match{$local_part}{{lookup pgsql{SELECT
'[0-9]+'}}}{yes}{no}}

But I get an error:
invalid "condition" value "}{yes}{no}}"

Isn't that possible this way? Is there another solution?

Thanks a lot,

Thomas


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to