Sieve regex error "invalid preceding regular expression"

ml at shadrinden.ru ml at shadrinden.ru
Fri Feb 19 08:58:31 EET 2021


On Fri, 19 Feb 2021 08:46:49 +0200 (EET)
Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
 
> > On 19/02/2021 07:54 ml at shadrinden.ru wrote:
> > 
> > if address :regex :localpart "to" "\+(.*)" {
> >   fileinto :create "${1}";
> >   stop;
> > }
> > 
> > error: invalid regular expression '+(.*)' for regex match: invalid
> > preceding regular expression.
> > 
> 
> Try '[+](.*)'
> 
> Regards,
> Aki

Thanks, that did it!

--
Respectfully,
Denis Shadrin


More information about the dovecot mailing list