Re: [exim] Router condition

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Cardwell
Fecha:  
A: Exim Users List
Asunto: Re: [exim] Router condition
On 21/08/2009 14:54, Jakub Čermák wrote:

> I tried both. At least I think I did - the 2nd paragraph is with {YES} and 3rd with just YES. Or am I mistaken?
>
> S pozdravem / Best regards
>
> Jakub Čermák


You've posted two error messages so far:

2009-08-21 14:18:37 1MeFj2-0002yY-9v failed to expand condition "${if
and{{eqi{$h_X-Spam-Flag}}{${lookup mysql {SELECT home FROM passwd WHERE
email='${quote_mysql:${local_part}@${domain}}'}}}}" for mysql_user_spam
router: missing 2nd string in {} after "eqi" inside "and{...}" condition

2009-08-21 14:29:31 1MeFj2-0002yd-BP failed to expand condition "${if
and{{eqi{$h_X-Spam-Flag}YES}{${lookup mysql {SELECT home FROM passwd
WHERE email='${quote_mysql:${local_part}@${domain}}'}}}}" for
mysql_user_spam router: missing 2nd string in {} after "eqi" inside
"and{...}" condition error

I have explained why both of those error messages were generated for the
expansions they quote. If you have another error message which displays
an error for when you're using eqi{$h_X-Spam-Flag}{YES} then please show
the log entry for it. Also, please stop top-posting.

--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/