Re: [Exim] system filter trouble

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Horvath Gabor Kalman
CC: exim-users
Assunto: Re: [Exim] system filter trouble
On Mon, 19 Jul 2004, Horvath Gabor Kalman wrote:

> > ... so $sender_host_address will never contain text like that.
> Yepp, I have the IP address of the internal exchange server there.
> It should contain that, shouldn't it?


If the internal exchange server is the SMTP client, yes.

> Do I need to escape the braces?
> $message_body contains "Subject: {SPAM}"


No. Only $ and \ are "trigger characters" in expanded strings.

> Is the above match going to work when the string is in an attached e-mail?


Yes, provided it occurs within the first n characters, where n is
defined by message_body_visible (default 500).

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book