Re: [exim] data acl expansion question

Pàgina inicial
Delete this message
Reply to this message
Autor: grover mitchell
Data:  
A: Exim-users
Assumpte: Re: [exim] data acl expansion question
On Fri, 25 Feb 2005 01:32:19 +0100, Jakob Hirsch <jh@???> wrote:
> grover mitchell wrote:
>
> > Is it possible to use a regular expression in the above condition? The
> > external program returns a value such as
>
> http://www.exim.org/exim-html-4.40/doc/html/spec_11.html#IX929
>


Doh! I found that right after I sent the email.

I seem to be having trouble expanding both message header and message body.

condition = ${if match{${run{/usr/local/ispam '$message_headers \
$message_body'}}}{/SPAM/}{yes}{no}}

It seems that only the first expansion variable gets passed. Is there
another variable that contains the whole message?