Re: sieve - find in header

2016-09-09 Thread Tom Hendrikx
On 09-09-16 08:35, Hajo Locke wrote: > Hello, > > thanks for your help. > > Am 08.09.2016 um 22:13 schrieb Tom Hendrikx: >> On 08-09-16 20:51, @lbutlr wrote: >>> On Tue Sep 06 2016 07:25:38 Hajo Locke said How to solve this case and find a string in

Re: sieve - find in header

2016-09-09 Thread Hajo Locke
Hello, thanks for your help. Am 08.09.2016 um 22:13 schrieb Tom Hendrikx: On 08-09-16 20:51, @lbutlr wrote: On Tue Sep 06 2016 07:25:38 Hajo Locke said How to solve this case and find a string in arbitrary/unknown headerline? You’ll have to create multiple sieves

Re: sieve - find in header

2016-09-08 Thread Tom Hendrikx
On 08-09-16 20:51, @lbutlr wrote: > On Tue Sep 06 2016 07:25:38 Hajo Locke said >> How to solve this case and find a string in arbitrary/unknown headerline? > > You’ll have to create multiple sieves covering the possible headers. > Maybe when you tell what you're

Re: sieve - find in header

2016-09-08 Thread @lbutlr
On Tue Sep 06 2016 07:25:38 Hajo Locke said > How to solve this case and find a string in arbitrary/unknown headerline? You’ll have to create multiple sieves covering the possible headers.

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

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