Hello *,
I’ve this condition in my router:
condition = ${lookup mysql {SELECT home FROM passwd  WHERE 
email='${local_pa...@${domain}'}}
But I want to have a special router ho handle spam messages, therefore I’d like 
to add another condition to the previous one, something like "if 
($h_X-Spam-Flag == „YES) AND (the condition above)"

I tried 
${if and { {eqi {$h_X-Spam-Flag} {YES}}  ${lookup mysql {SELECT home FROM 
passwd  WHERE email='${local_pa...@${domain}'}} } } 
but it says the syntax is wrong. So can you please give me advice, how can I 
make a condition to filter spam messages for "mysql users" ?


S pozdravem / Best regards

Jakub Čermák




-- 
## List details at http://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