On Tue, 27 Mar 2007, jaco engelbrecht wrote:
> Surely the result should just be "0", not "0\n0"? What am I doing
> wrong?
>
> My condition in my exim configure file:
>
> 2004 condition = ${if and {\
> 2005 { or
> { { !eq {$header_X-Trend:}{clean} }\
> 2006
> { !eq {$header_X-ClamAV:}{clean} }\
> 2007 }\
> 2008 }\
> 2009 {< {${sg
> {$header_X-Spammark:}{\N(\d+)\.(\d+)\N}{\$1}}}
> {$ACL_SPAMMARK_THRESH} } \
> 2010 {match{$
> {extract{1}{\:}{$ACL_SPAMMARK_FLAGS}}}{vINS}}\
> 2011 }\
> 2012 }
That has been horribly screwed up in the posting somehow. What are those
numbers? Can you post the condition exactly as it appears in your file?
What is the definition of ACL_SPAMMARK_THRESH? What release of Exim are
you using?
> Can anyone also please confirm if it's normal to print the result and
> a newline when testing with "-be"?
>
> # exim -be < bar
> > 100
> >
Yes. When input is on stdin it prompts for the next line of input.
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book