Fails to expand

Sander Smeenk <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Hey,

| SA: PANIC: SAEximRunCond expansion failure on ${if and
| {{def:sender_host_address}{!eq{$sender_host_address}{127.0.0.1}}
| {!eq{$h_X-SA-Do-Not-Run:}{Yes}}{eq{${extract{spamassassin}{${lookup
| {$domain}lsearch{/etc/exim4/policy}}}{$value}{no}}}{yes}}}}
| (but message was accepted)

Why is that ?
If I split the SAEximRunCond line up like so:

|${if
| 	and {
| 		{def:sender_host_Address}
| 		{!eq
| 			{$sender_host_address}
| 			{127.0.0.1}
| 		}
| 		{!eq
| 			{$h_X-SA-Do-Not-Run:}
| 			{Yes}
| 		}
| 		{eq
| 			{${extract{spamassassin}{${lookup{$domain}lsearch{/etc/exim4/policy}}}{$value}{no}}}
| 			{yes}
| 		}
| 	}
|}

It looks sane, right? My {}-matcher finds no disparities :)

The same lookup I do in that last {eq{}{}} block works elsewhere in an ACL.
I copied it 1:1 by cut 'n paste, so I made no typo's.
Exim4 isn't very verbose about WHY it failed expanding, and I would
expect this to be possible...

Any clues?

Sander.
-- 
| I doubt, therefore I might be.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.