Re: [exim] Router condition

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jakub Čermák
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Router condition
> -----Original Message-----
> On Behalf Of Mike Cardwell
> 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/
>
> --
> ## 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/


Ah, sorry, by " but the error is still the same" I meant the errors were the same except for the part with the condition.
To avoid futher misunderstandings I uploaded the paniclog to http://pastebin.com/f4fc37ede - lines 9 to 12 are for the {eqi{$h_X-Spam-Flag}{YES}} variant.
Could you please dig what's wrong and how to fix it from this?


Best regards

Jakub Čermák