Hello,
On Thu, Nov 23, 2006 at 07:20:32PM +0100, Magnus Holmgren wrote:
> > I would like to know can I have to make a configuration for find a
> > string (for example SPAM) in a Subject header?.
> >
> > If my header subject contain SPAM then $acl_c0=1. I made configurations
> > with lookup but always are problems with sintax or not run the exim
> > because there are bad configuration.
>
> If I interpret you correctly, you want to set $acl_c0 to 1 if there is a
> certain string in the subject of a message as it arrives from a foreign host?
>
> In the DATA ACL:
>
> warn condition = ${if match{h_Subject:}{SPAM}}
> set acl_c0 = 1
>
> Note that there is no $ when you set an ACL variable.
Note that there should be a $ before h_Subject: ...
--
Gruss / Best regards | LF.net GmbH | fon +49 711 90074-411
Matthias Waffenschmidt | Ruppmannstr. 27 | fax +49 711 90074-33
mw@??? | D-70565 Stuttgart | http://www.lf.net