Re: [exim] Router condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mike Cardwell
Dátum:  
Címzett: Exim Users List
Tárgy: Re: [exim] Router condition
On 21/08/2009 13:29, Jakub Čermák wrote:
> Hi,
> I tried it, and it says
> 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


The human readable error message explains the problem quite well:

missing 2nd string in {} after "eqi" inside "and{...}" condition

So look for the eqi expansion inside the and{} ...

{eqi{$h_X-Spam-Flag}}

That's wrong. You have:

{eqi{a}}

Instead of:

{eqi{a}{b}}

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

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