Re: [exim] data acl expansion question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: grover mitchell
Datum:  
To: Exim-users
Betreff: 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?