grabbing multiple patterns from allof

Stephan Bosch stephan at rename-it.nl
Tue Oct 11 01:16:39 UTC 2022


Only the latest match sets the variables, so you cannot do this in a single if statement.

On 25-9-2022 20:36, Marc wrote:
> Anyone an idea how you should grab multiple matches from allof?
>
> if allof ( true, header :regex "Subject" "(test).*(test2)", envelope :matches "from" "*" )
>
>



More information about the dovecot mailing list