Re: sieve - find in header

2016-09-06 Thread Stephan Bosch
Op 6-9-2016 om 15:25 schreef Hajo Locke: Hello list, have a problem with sieve script. I want to perform an action if an arbitrary headerline contains a defined string. I tried with regex: if header :regex [".*"] ["searchstri.*"] { fileinto "junk"; } This is not working because regex i

sieve - find in header

2016-09-06 Thread Hajo Locke
Hello list, have a problem with sieve script. I want to perform an action if an arbitrary headerline contains a defined string. I tried with regex: if header :regex [".*"] ["searchstri.*"] { fileinto "junk"; } This is not working because regex is only used in 2nd argument ["searchstri.*"