Re: [exim] Rejecting RunTogetherSubjects

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Jetmore
Fecha:  
A: Karl Schmidt
Cc: exim-users
Asunto: Re: [exim] Rejecting RunTogetherSubjects
On Thu, Apr 7, 2011 at 5:32 AM, Karl Schmidt <karl@???> wrote:
> deny    condition = ${if match{$h_subject:}{\S{25}}
>        message = irritating
>
>
> This should work - but isn't? I tested it with PCRE via:
>
> Note that it should be \w not /w and \S is anything non white-space.
>
> Am I missing something?
>


The raw form works:

g3 0 /home/jj33 > exim -be
> ${if match{1234567890123456789012345}{\N\S{25}\N}{Yes}{No}}

Yes
> ${if match{asdf}{\N\S{25}\N}{Yes}{No}}

No

The example you showed seems to be poorly formed (If nothing else it's
missing a closing "}". Try adding the return values and quoting the
regexp:

deny    condition = ${if match{$h_subject:}{\N\S{25}\N}{Yes}{No}}
       message = irritating