On Mon, Mar 03, 2008 at 07:01:29PM +0100, Pawel Rutkowski wrote:
> I have problem to construct condition in my router:
> condition = "${if and { \
> {!def:h_X-Spam-Flag:} \
> {!eq {$received_protocol}{spam-scanned}} \
> {!eq {$received_protocol}{local}} \
> {exists{/etc/exim/spam/$domain/user_prefs}} \
> } {1}{0}}"OK, so you have a condition, which is a logical "and" of four other conditions ... > but I need to add: > [EMAIL PROTECTED]/etc/exim/direct/$domain}} and you have a string expansion which does a lookup for some reason ... > where I should put it? I don't know - what do you want to do with that lookup? Test that it's not blank? That it gives some particular value? Something else? -- Dave Evans http://djce.org.uk/ http://djce.org.uk/pgpkey
signature.asc
Description: Digital signature
-- ## 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/
