[exim] Re: Exim filter get number before the dot

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Sławomir Dworaczek
Fecha:  
A: exim-users
Asunto: [exim] Re: Exim filter get number before the dot
unfortunately, it doesn't work, I get paniclog
Error in system filter: unrecognized condition word ""
Slawek


----- Original Message -----
From: "Evgeniy Berdnikov via Exim-users" <exim-users@???>
To: <exim-users@???>
Sent: Saturday, September 9, 2023 5:59 PM
Subject: [exim] Re: Exim filter get number before the dot


> On Sat, Sep 09, 2023 at 02:43:52PM +0200, Sławomir Dworaczek via
> Exim-users wrote:
>> here is my expression
>> if
>> $h_X-Spam-Potential: is not "" and
>> ${sg{$h_X-Spam-Potential:}{^(\d+)\..*}{$1}} is above 16
>> then
>> ......
>> theoretically, only the number 16 before the dot should be taken into
>> account but unfortunately this doesn't happen :( thanks for help Slawek
>
> Try:
> ${sg{$h_X-Spam-Potential:}{^(\\d+).*\$}{\$1}}
> --
> Eugene Berdnikov
>
> --
> ## subscription configuration (requires account):
> ##
> https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
> ## unsubscribe (doesn't require an account):
> ## exim-users-unsubscribe@???
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>



--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/