On Mon, 23 Apr 2001, Tabor J. Wells wrote:
> > if ${if def:h_X-UIDL}
> > then deliver spam_grabber
> > finish
> > endif
> This is what I use:
>
> if "${if def:h_x-uidl {spam}}" is spam
> then deliver spamtrap@???
> seen finish
> endif
The important difference is that the string $h_x-uidl is followed by
white space in the second case. Because RFC822 allows any printing
characters except : and white space in the name of a header line, you
*must* terminate header names either with : or with white space. In the
first example, Exim is reading the header name as X-UIDL} and then
complaining about a missing } I expect.
Perhaps I could try to make it give more information for this kind of
error. Noted.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.